Re: vb.net share data



Am 01.06.2010 22:23, schrieb aaron:
I basically have a vb.net 2008 solution that I need to make changes to. I am
trying to determine how this solution (.sln file) is setup. There is no
documentation.

When I compile this application is debug mode, it needs lots of files. If I
compile the .sln file in 'release' mode, the application compiles with a few
warnings.

Basically I am trying to determine how this .sln is setup beofre I make
any changes to it.

And you should make a backup before changing it. ;-)


First thing you can check are the properties of the solution.
(http://msdn.microsoft.com/en-us/library/09138bex(VS.90).aspx)
Single startup project? Multiple startup projects?

On the project dependencies page (http://msdn.microsoft.com/en-us/library/zk4ahe0t%28VS.90%29.aspx)
you can see on which other project each project depends on. Usually these
are the referenced projects. You can also see them if you open the
project's properties and select the "references" tab.


Why would buidling in release mode versus debug mode make a difference?

It depends on the differences. ;) I mean: you see the differences
by opening the project properties, then you can switch back and forth
between the configurations in the combobox at the top (availabe
on the "Compile" and "Debug" page) to see what's different. On the
"Compile" page, there's also the button "Advanced compile options"
at the bottom. These settings are also configuration dependent.

Are you referring to the warnings you only get with release configuration?
Which kind of warnings?

Does it make sense to add a reference to a .dll file in release mode but not
in debug mode?

The references are not set on a per configuration basis.


BTW, be aware that this group (and all other microsoft.public newsgroups)
will be closed within the next days, weeks or month, as announced for
a few weeks.

--
Armin
.



Relevant Pages

  • Re: ConfigurationManager
    ... When I compile this application is debug mode, ... If I compile the .sln file in 'release' mode, the application compiles with a few warnings. ... You do need to make sure that in the Solution properties the dependencies between projects are configured correctly, so that VS can make sure each project that's being built for a particular Solution configuration is built in the correct order. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ConfigurationManager
    ... trying to determine how this solution (.sln file) is setup. ... When I compile this application is debug mode, ... Basically I am trying to determine how this .sln is setup beofre I make ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Special Boolean for Debug?
    ... Fao, Sean wrote: ... And have it only run when I compile in Debug mode. ... compiled when the release configuration is selected. ...
    (microsoft.public.vsnet.ide)
  • RE: Debugger runs but unwanted
    ... I did not mean to imply it is okay to edit in debug mode. ... "Jack Leach" wrote: ... compile during the debug mode in any version. ...
    (microsoft.public.access.formscoding)
  • RE: Debugger runs but unwanted
    ... While the designer allows you to edit in debug mode, ... compile during the debug mode in any version. ... MsgBox "You did not enter a Work Order. ...
    (microsoft.public.access.formscoding)