I am Microsoft Rdlc Report Designer extension and NuGet ReportViewerControl.Winform package.
Now it is possible to open *.rdlc file in Visual Studio 2017 designer, but when i try to save my report i am getting error: "Unknown Report Version: 9.0
Also, i can't create empty *.rdlc file because don't have the same template in New File... dialog
UPD:
At this moment, i have no idea how to fix that, but i know hwo to avoid it:
Open your old report in VS2015 and then save it - next time VS2017 can open/edit/save files.
Answer from marketplace:
This happens when you have missed a reference. Please search through
all of your code and project files to find the 9.0 references and
update to 14.0.
By Sql Reporting Services 25.04.2017
It means that you need to search for patterns (previous xml structure) of 9.0 version in your *.rdlc file, which was not obvious for me.
That is why resave in VS2015 worked.
I have found that opening SSRS 2005 layouts from the Solution Explorer causes this error. If I close Visual Studio, open File Explorer, find the .RDLC and double-click on it top open VS 2017 without the project loaded, I can convert and save the file. Once it’s converted and saved, I can work with it normally inside VS.
Related
I'm trying to create my own VSIX package using the Project template. But when I actually launch it, it doesn't appear to be loading anything. That is, when running the project, it opens up another copy of visual studio, but it doesn't actually load up my plugin. I've compared my plugin to the other sample templates, and I just don't see anything wrong. It seems like it should be pretty straightforward. Are there any other steps besides creating the project that I have to do?
Are you using the visual studio experimental instance for debugging? You can enable this in the Project properties (right click your project and choose properties). Go to the 'Debug' tab and add the following line to 'Command line arguments': /rootsuffix Exp
More information about the experimental instance can be found on msdn.
I spent an entire day trying to reset Visual Studio (2015 Community Edition) by unloading features, deleting the cache directory, using the install to repair -- all with no success.
I finally uninstalled Visual Studio with success. When I initially installed Visual Studio, I had packages errors, like Python, that failed to load, but my Test Explorer worked beautifully. The test Explorer package stopped working in time. After re-installation, everything worked without any package load errors. Also, pay attention to the xml error files, because mine produced exceptions thrown by the package. (The xml error file is reported in the error dialog when Visual Studio informs the package failed to load.
I've created a game for an assignment in Visual Studio 2012 and the university I'm at uses 2010 and it won't open! It mentions something about NET Framework 4.5. How can I convert my project so it will open in 2010?
It takes three step:
Step 1
Open solution file (.sln) in a text editor and change
Microsoft Visual Studio Solution File, Format Version 12.00
to
Microsoft Visual Studio Solution File, Format Version 11.00
Step 2
Open application configuration file (App.config) in a text editor and change
sku=".NETFramework,Version=v4.5"
to
sku=".NETFramework,Version=v4.0"
Step 3
Open project file (for C# language .csproj) in a text editor and change
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
to
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
Now enjoy your project in VS 2010 !
You may only need to open the project in Visual Studio 2012, and go to the project's properties page.
On the Application tab, locate the Target Framework setting, and change it to .Net Framework 4.
After that, you should be able to open it in Visual Studio 2010.
Also see Converting VS2012 Solution to VS2010, but so far I haven't had to do any conversions on VS2012-created projects to open them ins VS2010 - but YMMV.
[EDIT]
I just tested this again (to be sure) by creating a .Net 4.5 project in VS2012, and verified that I couldn't open it in VS2010. Then I opened it in VS2012 again and changed the framework version to .Net 4.0. After that I could open it in VS2010.
Note that I didn't have to make any other changes. However, this is on a computer with VS2010 and VS2012 installed, so it's possible that installing VS2012 might do something with VS2010 to make it work...
I have done this at work
Open .sln file with notepad
Change the two lines below
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
To
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
and hey presto the solution now opens in VS2010
You can create a new project in Visual Studio 2010 and then right click in the solution explorer > Add > Existing item. To pull through all of files in your 2012 project.
Either create a new solution in VS2010 and add all existing files from your VS2012 or compare the .sln file to a .sln file freshly created with VS2010. At the top you'll see some version information that should be changed. Also compare the .csproj files and change any version information accordingly and the target framework.
Missing library or framework could also cause this problem. For example, if you want to open a MVC4 or Silver Light project but you don't have these libraries installed at your PC.
Open .sln file and Change Format Version to 12.0 to 11.0
A while ago I created a Visual Studio Package/Add-In for Visual Studio 2010 (for those curious: http://visualstudiogallery.msdn.microsoft.com/ea23f9a7-a942-45b2-87e6-5df6ff0444ff). If I try to download that and install it in Visual Studio 2012, it doesn't work, I get a version error.
So my first thought was to see what happens if I try to port it to 2012. I downloaded and installed the VS2012 RC SDK, and basically recreated the whole thing in a separate solution and it all works. What I noticed was that many of the assemblies I had to reference (Microsoft.VisualStudio.*) were now version 11 as opposed to version 10 (for obvious reasons). After copying and pasting all the code over, I got it to work correctly in Visual Studio 2012.
My question now is this: Is it possible to have one .vsix file for multiple versions of Visual Studio (I'm guessing no.) If not, what's the correct approach to take as far as uploading the different versions? Can I upload two versions of a .vsix? Will the Add-In manager in visual studio pick the correct one automatically? Do I need to create a new package e.g. "Visual Pastie 2012"? Just looking for some guidance.
Rename the VSIX package to give it a ZIP extension and open it up. You'll find a file called extension.vsixmanifest. Inside this XML file you'll find an element called SupportedProducts which should look like the following to work in VS2012.
<SupportedProducts>
<VisualStudio Version="11.0">
<Edition>Pro</Edition>
</VisualStudio>
</SupportedProducts>
HTH
I am trying to open a project developed in vs2008 but i am getting the following error.
"cannot be opened because its project type .csproj is not supported by this version of the application".
And I tried by selecting open with-> visual studio version selector but it opens as a vs2010 project and gives the same error.
When I got this msg, it was because I was opening a "non native" project format. Like e. g. MVC. You would have to install that project-type-extension (if that is the correct name? the one that gives you the project template) for VS2010 as well. I think it even needs to be same version.. like MVC2 again instead of MVC3.
Similar with XNA.
Thanks to all of you for your kind help.
I was working on a project and it was in vs 2010, same time i tried to open another project for reference which was in vs 2008, even i opened in new instance it was unable to open that.
At end I closed all the VS instances and opened vs 2008 project first, then it asked for version specification.
Did'nt able to rectify the error but got the solution.
"First close all the opened instances and then open the older one".
Just try to open the solution file in an text editor and change the
# Visual Studio 2008
to
# Visual Studio 2010
Does it help?
PS: Here are the differences between VS 2008 and VS 2010 sln and csproj files listed:
http://blogs.msdn.com/b/rextang/archive/2009/07/06/9819189.aspx
You can try to port manually. Just make a backup before you do.
I have created a windows mobile application in Visual Studio. I want to templatize this project so that one can open this as a template as opposed to a project.
Is this possible in Visual Studio? I read that there is something called as "VSX (Visual Studio Extension)" which may achieve this. I have Visual Studio Ultimate installed in my system and was trying to install the VS2010 SDK. But its not getting installed telling that i dont have MS Visual Studio 2010 which I apparently do.
Am I going in the right direction? If not what would be the correct way to go ?
Yes it is possible like this: File > Export Template than click next :) It will save your code too
This is what I was looking for and it came really handy too.
Export Template Wizard
This exports a project directly as VSIX extension using a wizard.
I would recommend using the TemplateBuilder NuGet package inside of either a VSIX Project or a Visual Studio package. I've created a 6 minute video showing you how you can: Create a VSIX containing a project template, and then editing the template. Checkit out at https://www.youtube.com/watch?v=z33jOo75CH4.
FYI TemplateBuilder is open source at https://github.com/ligershark/template-builder. If you've heard of SideWaffle it relies on TemplateBuilder.