Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

VisualBasic.NET Build and Debug in VS2015#394

Merged
smaillet-ms merged 3 commits intoNETMF:devfrom
smaillet-ms:VBBuild
Feb 26, 2016
Merged

VisualBasic.NET Build and Debug in VS2015#394
smaillet-ms merged 3 commits intoNETMF:devfrom
smaillet-ms:VBBuild

Conversation

@smaillet-ms
Copy link
Copy Markdown
Member

Fixes #387

  • updated VisualBasic Targets file to set required properties
  • Updated VB project templates to disable optimization for debug builds so binaries are debuggable
  • Updated the VSProject system tp check for explicit mscorlib assembly reference and if not present to add it to the internal list of assemblies for deployment.
  • Added use of FLAVOR_SDK environment variable to build_sdk.cmd so that the SDK components can be built for debug configurations. (This helps when debugging the VS integration and MFDeploy)

…Type" property so that netmfvb projects can build and deploy properly
- Fixed VB project templates to set Optimized property to false in debug configurations to enable debugging
- Modified VSProject.cs to test for mscorlib as an explicit dependency and if not present, add it so that various versions of VS and MSBUild common project systems work correctly.
- Added optional flavor flag in build_sdk to allow building the SDK as Debug. This helps in debugging working with the VS integration in debug mode as it builds all the dependencies in one pass.
Comment thread Framework/CorDebug/VsProject.cs Outdated
// false so it won't show in the IDE. By testing for it and adding it if not found
// both cases are covered.
var q = from path in table.OfType<string>( )
where 0 == string.Compare( Path.GetFileName( path ), "mscorlib.dll", StringComparison.InvariantCultureIgnoreCase )
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should be OrdinalIgnoreCase comparison, invariant culture considers things equal that file system does not. And you can use string.Equals(string, string, StringComparison) for better readability.

@miloush
Copy link
Copy Markdown

miloush commented Feb 20, 2016

👍 works for me

- added Readme.md for the crypto libraries as the readme was left out from the original commit for the crypto libs
smaillet-ms added a commit that referenced this pull request Feb 26, 2016
VisualBasic.NET Build and Debug in VS2015
@smaillet-ms smaillet-ms merged commit 32f7bbd into NETMF:dev Feb 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants