-
Notifications
You must be signed in to change notification settings - Fork 242
Meta fails to load in VS2013 because Portable Class Libraries don't work #761
Comments
I'm using VS2013, what's different about your configuration? |
I cloned via GIT and did update modules, my vs2013 might be Update 1 however (I'll check when I'm home) |
This was vs2013 without any updates, ill try installed update 5 and see if it launches |
I couldn't reproduce this with update 4, and update 5 won't install here... things work fine on VS2015 also, though. |
Microsoft Visual Studio Express 2013 for Web Installed Version: WD Express Team Explorer for Visual Studio 2013 06156-004-0437007-02904 Visual Basic 2013 06156-004-0437007-02904 Visual C# 2013 06156-004-0437007-02904 Application Insights Tools for Visual Studio Package 1.0 ASP.NET and Web Tools 12.4.51016.0 ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0 ASP.NET Web Frameworks and Tools 2013 5.2.21010.0 Common Azure Tools 1.3 NuGet Package Manager 2.8.50926.663 PowerShell Tools 1.3 SQL Server Data Tools 12.0.41012.0 By the way, the Wiki says 10 works. It doesn't anymore :-( |
Portable libraries are a disaster. I regret listening to people who asked me to adopt them :( Is there a way to resolve this without killing the portable library thing for people who want it? I don't know anything about this stuff. I don't know why portable libraries would fail in so many modern configurations. |
PCL projects are not supported on VS Express Edition, but they should work on Community Edition (all except "enterprise" customer should be able to use Community Edition). |
I want to have one JSIL.Meta csproj file that people can reference, instead of having 5 different copies of it that need to have their file lists maintained separately. Is there any way to do that? It sounded like some people need a PCL JSIL.Meta, but if entire VS product lines can't support PCLs, that's a non-starter. |
I'm pretty sure they can build it using MsBuild. Probably they will need to install PCL references Libraries before. |
I will think about using an import like the .net 4.5 targets file to make it possible to have PCL and non-PCL Meta projects that share the same file list. That could work out. |
@aracdin, could you try build it using command line? So, open Visual Studio Developer Command Prompt and run |
@kg, I'm pretty sure, that VS express blocks loading project according to ProjectType GUID in .csproj file. If we replace it with standard C# project GUID it will probably work. |
Couldn't even get msbuild to run :-( .After some digging around, I found that Meta is asking for: |
Easiest fix is probably just to update the wiki and tell people to use 15. ;-) |
I know I'm reviving this thread from the dead, but this is precisely the scenario that led MonoGame to adopt Protobuild - this is one of the core features of it (getting rid of all the platform-specific C# files). For people who want to use PCLs, you can just do |
Multi-targeting already possible with project.json/.xproj and dnx. It should work even with VS Code. So, let's see how it would work as soon as it will be RTM. Looks like it will solve most problems that Protobuild solve (at least how I understand them). |
None of that is supported under MonoDevelop / Xamarin Studio, nor does it work under Mono or xbuild.
|
I hope it will be supported in some way with MonoDevelop / Xamarin Studio when it will be released (or a little bit later). project.json structure is much simpler than msbuild files. |
Since the split meta project can no longer open in vs2013 due to it 'Targeting framework versions not supported or not yet implemented'
changing Meta.csproj
to
Fixes the issue
The text was updated successfully, but these errors were encountered: