vb.net - .NET .vbproj vs .sln -


what difference between .vbproj , .sln file?

a vbproj project file single project. solution file can contain many projects in it, vb or otherwise, have other references things solution files.

you can open either in text editor.

here solution file, you'll see contains csharp , vb project files. contains various configurations builds seen in configuration manager, such debug or release, , target platforms builds.

microsoft visual studio solution file, format version 12.00 # visual studio 15 visualstudioversion = 15.0.26430.6 minimumvisualstudioversion = 10.0.40219.1 project("{fae04ec0-301f-11d3-bf4b-00c04f79efbc}") = "cert", "cert\cert.csproj", "{bf281f9f-13b5-4f4c-bb18-96e07b3c6f8d}" endproject project("{f184b08f-c81c-45f6-a57f-5abd9991f28f}") = "certvb", "certvb\certvb.vbproj", "{439c487e-5da6-4998-93b5-b482a2a8c40a}" endproject project("{f184b08f-c81c-45f6-a57f-5abd9991f28f}") = "windowsapp1", "windowsapp1\windowsapp1.vbproj", "{9ae70a5c-7541-407c-913d-e1b60bcb296f}" endproject project("{fae04ec0-301f-11d3-bf4b-00c04f79efbc}") = "windowsformsapp1cs", "windowsformsapp1cs\windowsformsapp1cs.csproj", "{e12a5add-3cb2-485b-b23c-55e49bc263a7}" endproject global     globalsection(solutionconfigurationplatforms) = presolution         debug|any cpu = debug|any cpu         release|any cpu = release|any cpu     endglobalsection     globalsection(projectconfigurationplatforms) = postsolution         {bf281f9f-13b5-4f4c-bb18-96e07b3c6f8d}.debug|any cpu.activecfg = debug|any cpu         {bf281f9f-13b5-4f4c-bb18-96e07b3c6f8d}.debug|any cpu.build.0 = debug|any cpu         {bf281f9f-13b5-4f4c-bb18-96e07b3c6f8d}.release|any cpu.activecfg = release|any cpu         {bf281f9f-13b5-4f4c-bb18-96e07b3c6f8d}.release|any cpu.build.0 = release|any cpu         {439c487e-5da6-4998-93b5-b482a2a8c40a}.debug|any cpu.activecfg = debug|any cpu         {439c487e-5da6-4998-93b5-b482a2a8c40a}.debug|any cpu.build.0 = debug|any cpu         {439c487e-5da6-4998-93b5-b482a2a8c40a}.release|any cpu.activecfg = release|any cpu         {439c487e-5da6-4998-93b5-b482a2a8c40a}.release|any cpu.build.0 = release|any cpu         {9ae70a5c-7541-407c-913d-e1b60bcb296f}.debug|any cpu.activecfg = debug|any cpu         {9ae70a5c-7541-407c-913d-e1b60bcb296f}.debug|any cpu.build.0 = debug|any cpu         {9ae70a5c-7541-407c-913d-e1b60bcb296f}.release|any cpu.activecfg = release|any cpu         {9ae70a5c-7541-407c-913d-e1b60bcb296f}.release|any cpu.build.0 = release|any cpu         {e12a5add-3cb2-485b-b23c-55e49bc263a7}.debug|any cpu.activecfg = debug|any cpu         {e12a5add-3cb2-485b-b23c-55e49bc263a7}.debug|any cpu.build.0 = debug|any cpu         {e12a5add-3cb2-485b-b23c-55e49bc263a7}.release|any cpu.activecfg = release|any cpu         {e12a5add-3cb2-485b-b23c-55e49bc263a7}.release|any cpu.build.0 = release|any cpu     endglobalsection     globalsection(solutionproperties) = presolution         hidesolutionnode = false     endglobalsection endglobal 

on other hand project files xml , contain settings, references, files , other information individual project within solution:

<?xml version="1.0" encoding="utf-8"?> <project toolsversion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">   <import project="$(msbuildextensionspath)\$(msbuildtoolsversion)\microsoft.common.props" condition="exists('$(msbuildextensionspath)\$(msbuildtoolsversion)\microsoft.common.props')" />   <propertygroup>     <configuration condition=" '$(configuration)' == '' ">debug</configuration>     <platform condition=" '$(platform)' == '' ">anycpu</platform>     <projectguid>{439c487e-5da6-4998-93b5-b482a2a8c40a}</projectguid>     <outputtype>exe</outputtype>     <startupobject>certvb.module1</startupobject>     <rootnamespace>certvb</rootnamespace>     <assemblyname>certvb</assemblyname>     <filealignment>512</filealignment>     <mytype>console</mytype>     <targetframeworkversion>v4.5.2</targetframeworkversion>     <autogeneratebindingredirects>true</autogeneratebindingredirects>   </propertygroup>   <propertygroup condition=" '$(configuration)|$(platform)' == 'debug|anycpu' ">     <platformtarget>anycpu</platformtarget>     <debugsymbols>true</debugsymbols>     <debugtype>full</debugtype>     <definedebug>true</definedebug>     <definetrace>true</definetrace>     <outputpath>bin\debug\</outputpath>     <documentationfile>certvb.xml</documentationfile>     <nowarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</nowarn>   </propertygroup>   <propertygroup condition=" '$(configuration)|$(platform)' == 'release|anycpu' ">     <platformtarget>anycpu</platformtarget>     <debugtype>pdbonly</debugtype>     <definedebug>false</definedebug>     <definetrace>true</definetrace>     <optimize>true</optimize>     <outputpath>bin\release\</outputpath>     <documentationfile>certvb.xml</documentationfile>     <nowarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</nowarn>   </propertygroup>   <propertygroup>     <optionexplicit>on</optionexplicit>   </propertygroup>   <propertygroup>     <optioncompare>binary</optioncompare>   </propertygroup>   <propertygroup>     <optionstrict>off</optionstrict>   </propertygroup>   <propertygroup>     <optioninfer>on</optioninfer>   </propertygroup>   <itemgroup>     <reference include="bouncycastle.crypto, version=1.8.1.0, culture=neutral, publickeytoken=0e99375e54769942">       <specificversion>false</specificversion>       <hintpath>..\cert\bouncycastle.crypto.dll</hintpath>     </reference>     <reference include="system" />     <reference include="system.data" />     <reference include="system.deployment" />     <reference include="system.numerics" />     <reference include="system.web.extensions" />     <reference include="system.xml" />     <reference include="system.core" />     <reference include="system.xml.linq" />     <reference include="system.data.datasetextensions" />     <reference include="system.net.http" />   </itemgroup>   <itemgroup>     <import include="microsoft.visualbasic" />     <import include="system" />     <import include="system.collections" />     <import include="system.collections.generic" />     <import include="system.data" />     <import include="system.diagnostics" />     <import include="system.linq" />     <import include="system.xml.linq" />     <import include="system.threading.tasks" />   </itemgroup>   <itemgroup>     <compile include="chaindownloader.vb" />     <compile include="module1.vb" />     <compile include="my project\assemblyinfo.vb" />     <compile include="my project\application.designer.vb">       <autogen>true</autogen>       <dependentupon>application.myapp</dependentupon>     </compile>     <compile include="my project\resources.designer.vb">       <autogen>true</autogen>       <designtime>true</designtime>       <dependentupon>resources.resx</dependentupon>     </compile>     <compile include="my project\settings.designer.vb">       <autogen>true</autogen>       <dependentupon>settings.settings</dependentupon>       <designtimesharedinput>true</designtimesharedinput>     </compile>   </itemgroup>   <itemgroup>     <embeddedresource include="my project\resources.resx">       <generator>vbmyresourcesresxfilecodegenerator</generator>       <lastgenoutput>resources.designer.vb</lastgenoutput>       <customtoolnamespace>my.resources</customtoolnamespace>       <subtype>designer</subtype>     </embeddedresource>   </itemgroup>   <itemgroup>     <none include="my project\application.myapp">       <generator>myapplicationcodegenerator</generator>       <lastgenoutput>application.designer.vb</lastgenoutput>     </none>     <none include="my project\settings.settings">       <generator>settingssinglefilegenerator</generator>       <customtoolnamespace>my</customtoolnamespace>       <lastgenoutput>settings.designer.vb</lastgenoutput>     </none>     <none include="app.config" />   </itemgroup>   <itemgroup>     <content include="bouncycastle.crypto.dll" />   </itemgroup>   <import project="$(msbuildtoolspath)\microsoft.visualbasic.targets" /> </project> 

Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -