Closed danieleli closed 11 years ago
Dan, if you intend to build the project then yes, Roslyn (and consequently the VS SDK) are required in addition to Visual Studio 2010 SP1. I need to add this to the docs. However, you should be able to run the installer itself without either of these. The Roslyn dependencies are captured as part of the MSI. There's a pre-built version of that in the release folder.
Are you running into these issues with the installer? Or were you trying to build the project?
Thanks for the interest!
my intent was to just use the project template, so I ran the MSI and created a new blade project That's when I got the Roslyn Errors and the single reference in the project couldn't be located.
I tried downloading roslyn but could only find the 2012 download. I wasn't sure if that would work.
one note: the c++ components of visual studio 2012 are not installed. (I've got 2012 rc installed. I'm not sure about 2010 version. I don't think opting out of components was available for that install. Both versions are ultimate)
I started installing 2012 vssdk. I'll letcha know if that helps.
Thanks again!
Another person who tried noted some errors that appear to be a result of not having the VS SDK installed. Did your error occur when trying to build the project? If so was it similar to this:
System.InvalidCastException: Unable to cast transparent proxy to type 'Roslyn.Utilities.SerializableDataStorage'
I was able to re-create this one by installing on a machine without the SDK. Luckily that dependency is only between the Roslyn Service APIs and there are just a couple of files that use that to load the project metadata. I should be able to remove that dependency and get what I need straight from MSBuild.
Also, Although I'm not aware of any reason it wouldn't work, I haven't tried with VS2012 yet at all.
After installing C++ package in VS 2012, Attempting to create a new blade project in vs 2010 results in warning on System.Core reference. Attempting to compile gives following errors.
Error 1 The type or namespace name 'Dom' does not exist in the namespace 'System' (are you missing an assembly reference?) Blade2 C:\Users\Win7Desktop\Documents_projects\Blade2\Blade2\Class1.cs 2 14 Error 2 The type or namespace name 'Html' does not exist in the namespace 'System' (are you missing an assembly reference?) Blade2 C:\Users\Win7Desktop\Documents_projects\Blade2\Blade2\Class1.cs 3 14
Below is Visual Studio 2010's "Installed Products" from "about".
System info file is here: https://dl.dropbox.com/u/148605/temp/system%20info.nfo (yikes! 2.4 MB)
Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel Microsoft .NET Framework Version 4.5.50501 SP1Rel
Installed Version: Ultimate
Microsoft Visual Basic 2010 01019-532-2002102-70370 Microsoft Visual Basic 2010
Microsoft Visual C# 2010 01019-532-2002102-70370 Microsoft Visual C# 2010
Microsoft Visual C++ 2010 01019-532-2002102-70370 Microsoft Visual C++ 2010
Microsoft Visual F# 2010 01019-532-2002102-70370 Microsoft Visual F# 2010
Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70370 Microsoft Visual Studio 2010 Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70370 Microsoft Visual Studio 2010 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70370 Microsoft Visual Studio 2010 Team Explorer
Microsoft Visual Web Developer 2010 01019-532-2002102-70370 Microsoft Visual Web Developer 2010
Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010
Git Source Control Provider 1.0.0.0
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2522890) KB2522890 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2522890.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2529927) KB2529927 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2529927.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2542054) KB2542054 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2542054.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2548139) KB2548139 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2548139.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2549864) KB2549864 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2549864.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2581019) KB2581019 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2581019.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2591016) KB2591016 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2591016.
Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2635973) KB2635973 This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this hotfix will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2635973.
JetBrains ReSharper 6.1 C# Edition build 6.1.1000.82 on 2012-02-15T20:14:48 JetBrains ReSharper 6.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2012 JetBrains, Inc.
Microsoft SQL Server Data Tools 10.3.20225.0 Microsoft SQL Server Data Tools
Microsoft Visual Studio 2010 Ultimate - ENU Service Pack 1 (KB983509) KB983509 This service pack is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this service pack will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/983509.
Mindscape Web Workbench 1.0 Accelerate and simplify your Web development experience with Visual Studio integrated Sass, Less and CoffeeScript support
MySQL Connector/Net 6.3.7 Data design and management tools for MySQL. Copyright © 2007-2009 MySQL AB
NuGet Package Manager 1.8.30423.9026 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Security Update for Microsoft Visual Studio 2010 Ultimate - ENU (KB2644980) KB2644980 This security update is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this security update will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2644980.
Security Update for Microsoft Visual Studio 2010 Ultimate - ENU (KB2645410) KB2645410 This security update is for Microsoft Visual Studio 2010 Ultimate - ENU. If you later install a more recent service pack, this security update will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/2645410.
tangible T4 Editor 1.0 tangible T4 Text Template Editor - T4 Editor
VMDebugger For more information about VMware Inc, see their website at http://www.vmware.com Copyright (c) 2011 VMware, Inc.
That's odd, it seems that the project is not referencing the custom mscorlib implementation provided by the Blade Profile.
Firstly, I just updated the code to remove the dependency on the VS SDK and committed an updated MSI to the release folder. Your issue doesn't seem directly related to that IMO, but you should uninstall the current version of Blade and re-install the latest to be safe.
Next, (if it still doesn't work) let's see why you aren't referencing the correct mscorlib implementation. Did you create the project as a Blade C# Library in the New Project dialog? If so, can you look at the project properties (Right click project > Properties) and check the Application > Target Framework dropdown. It should be set to .NET Framework 4 Blade Profile. Also the Output Type should be set to Class Library.
I see a blade folder under c:\program files (x86)\msbuild. (btw - I'm running win 7 64bit) That contains blade's build, compiler and targets as well as roslyn's files.
There a couple of files in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Blade but when I attempt to add them to project is complains that they are already referenced by build system.
I'll try uninstalling and re-installing latest.
That all sounds correct. You shouldn't need to reference those Blade Profile assemblies (mscorlib and System.Core) directly. Those should available under the Add References dialog, in the .NET Tab. They should be referenced by default.
I just added a samples directory, with a very simple hello world example. After installing, can you try compiling this project and see what happens?
Closing this issue as the new installer supports both versions of Visual Studio and does not need Roslyn installed.
It look like Roslyn is required. Roslyn requires the VsSDK. I tried to install that but then it asked for my VS install disk. I bailed at that point.
Is all that really required? I have VS 2010 Ultimate (and 2012 RC) installed.
Any help on the easiest route to get going would be great. I can't wait to dig in!
Dan