In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
The solution to two wrong problems of Visual Studio 2010 RC. In view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
The author encountered some problems in the process of migrating from Visual Studio 2008 to Visual Studio 2010 and wrote this article for your reference.
In recent days, in order to use TFS2010 more naturally (rather than using Visual Studio 2008 to connect to TFS2010), upgrading the solution to Visual Studio 2010 has led to the following two Bug. The two Project,An are Full FX,B and Client Profile (whether it's .NET 3.5 SP1 or .NET 4.0), and B refers to A. If assemblies such as System.Design.dll that cannot be referenced by Client Profile are referenced in A, there will be an error (along with warnings) in compiling B. In Visual Studio 2008, only warning messages appear and there are no compilation errors.
Two people were found to have submitted similar questions, but Microsoft said it was By Design. In this way, we are forced to separate the custom Designer from the custom control project, and we can only use the overloaded signature version of string when setting DesignerAttributes.
The second one is related to System.Windows.Forms.DataVisualization.dll and ClickOnce.
Upgrade a Visual Studio 2008 project that references System.Windows.Forms.DataVisualization.dll and published in ClickOnce to Visual Studio 2010 (Target Framework is still using .NET 3.5 SP1 Client Profile). During deployment, it was found that System.Windows.Forms.DataVisualization.dll was not included in the "Application Files" of ClickOnce.
The ClickOnce of Visual Studio 2010 probably thinks this is using. NET 4.0 (.NET 4.0 has built-in MSChart, so you don't have to include this assembly when you deploy it).
The only solution is to add System.Windows.Forms.DataVisualization.dll to the project as Content, and if Copy if newer; needs a Chinese interface, add a folder for zh-CHS and add System.Windows.Forms.DataVisualization.resources.dll to it.
The solutions to the two wrong questions about Visual Studio 2010 RC are shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.