Settings and Configurations in the .vbproj file

G

Guest

I am trying to create a .dll file using VB.Net Standard using the info from
this website http://www.devcity.net/Articles/111/1/vbnet_se_dll.aspx

My problem is when I open up the .vbproj file in Notepad I don't get all the
setting attributes. Instead I get this

<VisualStudioProject>
<VisualBasic LastOpenVersion = "7.10.3077" >
<Build>
<Settings ReferencePath = "C:\Documents and Settings\DONOCB\My
Documents\Visual Studio Projects\CardiacSurgery\CardiacSurgeryData\" >
<Config
Name = "Debug"
EnableASPDebugging = "false"
EnableASPXDebugging = "false"
EnableUnmanagedDebugging = "false"
EnableSQLServerDebugging = "false"
RemoteDebugEnabled = "false"
RemoteDebugMachine = ""
StartAction = "Project"
StartArguments = ""
StartPage = ""
StartProgram = ""
StartURL = ""
StartWorkingDirectory = ""
StartWithIE = "false"
/>
<Config
Name = "Release"
EnableASPDebugging = "false"
EnableASPXDebugging = "false"
EnableUnmanagedDebugging = "false"
EnableSQLServerDebugging = "false"
RemoteDebugEnabled = "false"
RemoteDebugMachine = ""
StartAction = "Project"
StartArguments = ""
StartPage = ""
StartProgram = ""
StartURL = ""
StartWorkingDirectory = ""
StartWithIE = "false"
/>
</Settings>
</Build>
<OtherProjectSettings
CopyProjectDestinationFolder = ""
CopyProjectUncPath = ""
CopyProjectOption = "0"
ProjectView = "ProjectFiles"
ProjectTrust = "0"
/>
</VisualBasic>
</VisualStudioProject>

What am I doing wrong?
 
G

Guest

Sometimes I am stunned but I can't see how to extend the 'Settings' anywhere
in the article
http://www.devcity.net/Articles/111/1/vbnet_se_dll.aspx

I went in under Project -> 'ProjectName' Properties
and expanded the Settings

The only other thing I got was the reference path
<Settings ReferencePath = "C:\Documents and Settings\DONOCB\My
Documents\Visual Studio Projects\CardiacSurgery\CardiacSurgeryData\" >
<Config
Name = "Debug"
EnableASPDebugging = "false"
 
R

Robert S. Liles

I think you may be opening the wrong file. For some reason the extensions
don't show when you are using Explorer to find files. If you are opening
the file named "MYFILE.VBPROJ" you are actually opening MYFILE.VBPROJ.USER."
Try opening the file just named "MYFILE" but has the description of "Visual
Basic .NET Project."

Bobbo
_________________________________________________
 
H

Herfried K. Wagner [MVP]

Can said:
Sometimes I am stunned but I can't see how to extend the 'Settings'
anywhere
in the article
http://www.devcity.net/Articles/111/1/vbnet_se_dll.aspx

Replace the opening 'Settings' element with something similar to this:

\\\
<Settings
ApplicationIcon = ""
AssemblyKeyContainerName = ""
AssemblyName = ...
AssemblyOriginatorKeyFile = ""
AssemblyOriginatorKeyMode = "None"
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "Library"
OptionCompare = "Binary"
OptionExplicit = "On"
OptionStrict = "On"
RootNamespace = ...
StartupObject = ...///
 
R

Robert S. Liles

No problem. I did that myself and finally figured it out by getting mad and
opening every file in the directory.>G<

Bobbo
 
Top