Visual Studio does not load project because IIS Express is missing -
i removed iis express windows "programms installation" icon because want use full iis activated "programm installation".
then loaded vs solution. web api project got not loaded because configured iis express says error message.
when check .csproj file removed iis express.
but still content error, why?
the iis related this:
<useiis>true</useiis> and not iis express. full iis.
<?xml version="1.0" encoding="utf-8"?> <project toolsversion="12.0" defaulttargets="build" 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> <productversion> </productversion> <schemaversion>2.0</schemaversion> <projectguid>{a1e0b8df-27cd-4551-900e-b73929e02942}</projectguid> <projecttypeguids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</projecttypeguids> <outputtype>library</outputtype> <appdesignerfolder>properties</appdesignerfolder> <rootnamespace>tgb.api</rootnamespace> <assemblyname>tgb.api</assemblyname> <targetframeworkversion>v4.6</targetframeworkversion> <useglobalapplicationhostfile /> </propertygroup> <propertygroup condition=" '$(configuration)|$(platform)' == 'debug|anycpu' "> <debugsymbols>true</debugsymbols> <debugtype>full</debugtype> <optimize>false</optimize> <outputpath>bin\</outputpath> <defineconstants>debug;trace</defineconstants> <errorreport>prompt</errorreport> <warninglevel>4</warninglevel> </propertygroup> <propertygroup condition=" '$(configuration)|$(platform)' == 'release|anycpu' "> <debugtype>pdbonly</debugtype> <optimize>true</optimize> <outputpath>bin\</outputpath> <defineconstants>trace</defineconstants> <errorreport>prompt</errorreport> <warninglevel>4</warninglevel> </propertygroup> <itemgroup> <reference include="autofac, version=3.5.0.0, culture=neutral, publickeytoken=17863af14b0044da, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\autofac.3.5.2\lib\net40\autofac.dll</hintpath> </reference> <reference include="autofac.integration.webapi, version=3.4.0.0, culture=neutral, publickeytoken=17863af14b0044da, processorarchitecture=msil"> <hintpath>..\packages\autofac.webapi2.3.4.0\lib\net45\autofac.integration.webapi.dll</hintpath> <private>true</private> </reference> <reference include="entityframework, version=6.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\entityframework.6.1.3\lib\net45\entityframework.dll</hintpath> </reference> <reference include="entityframework.sqlserver, version=6.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\entityframework.6.1.3\lib\net45\entityframework.sqlserver.dll</hintpath> </reference> <reference include="microsoft.aspnet.identity.core, version=2.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\microsoft.aspnet.identity.core.2.2.1\lib\net45\microsoft.aspnet.identity.core.dll</hintpath> </reference> <reference include="microsoft.aspnet.identity.entityframework, version=2.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\microsoft.aspnet.identity.entityframework.2.2.1\lib\net45\microsoft.aspnet.identity.entityframework.dll</hintpath> </reference> <reference include="microsoft.aspnet.identity.owin, version=2.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\microsoft.aspnet.identity.owin.2.2.1\lib\net45\microsoft.aspnet.identity.owin.dll</hintpath> </reference> <reference include="microsoft.csharp" /> <reference include="microsoft.owin.host.httplistener, version=3.0.1.0, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\microsoft.owin.host.httplistener.3.0.1\lib\net45\microsoft.owin.host.httplistener.dll</hintpath> </reference> <reference include="microsoft.owin.hosting, version=3.0.1.0, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\microsoft.owin.hosting.3.0.1\lib\net45\microsoft.owin.hosting.dll</hintpath> </reference> <reference include="newtonsoft.json, version=7.0.0.0, culture=neutral, publickeytoken=30ad4fe6b2a6aeed, processorarchitecture=msil"> <specificversion>false</specificversion> <hintpath>..\packages\newtonsoft.json.7.0.1\lib\net45\newtonsoft.json.dll</hintpath> </reference> <reference include="nlog"> <hintpath>..\packages\nlog.4.0.1\lib\net45\nlog.dll</hintpath> </reference> <reference include="system" /> <reference include="system.data" /> <reference include="system.web.entity" /> <reference include="system.web.applicationservices" /> <reference include="system.componentmodel.dataannotations" /> <reference include="system.core" /> <reference include="system.web" /> <reference include="system.web.abstractions" /> <reference include="system.web.routing" /> <reference include="system.configuration" /> <reference include="system.runtime.serialization" /> <reference include="system.net.http"> </reference> <reference include="system.net.http.formatting, version=__mvcpagesversion__, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <hintpath>..\packages\microsoft.aspnet.webapi.client.5.2.3\lib\net45\system.net.http.formatting.dll</hintpath> </reference> <reference include="system.net.http.webrequest"> </reference> <reference include="system.web.http, version=__mvcpagesversion__, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <hintpath>..\packages\microsoft.aspnet.webapi.core.5.2.3\lib\net45\system.web.http.dll</hintpath> </reference> <reference include="system.web.http.webhost, version=__mvcpagesversion__, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil"> <hintpath>..\packages\microsoft.aspnet.webapi.webhost.5.2.3\lib\net45\system.web.http.webhost.dll</hintpath> </reference> <reference include="system.xml" /> </itemgroup> <itemgroup> <reference include="owin"> <hintpath>..\packages\owin.1.0\lib\net40\owin.dll</hintpath> </reference> <reference include="microsoft.owin"> <hintpath>..\packages\microsoft.owin.3.0.1\lib\net45\microsoft.owin.dll</hintpath> </reference> <reference include="microsoft.owin.host.systemweb"> <hintpath>..\packages\microsoft.owin.host.systemweb.3.0.1\lib\net45\microsoft.owin.host.systemweb.dll</hintpath> </reference> <reference include="microsoft.owin.security"> <hintpath>..\packages\microsoft.owin.security.3.0.1\lib\net45\microsoft.owin.security.dll</hintpath> </reference> <reference include="microsoft.owin.security.facebook"> <hintpath>..\packages\microsoft.owin.security.facebook.3.0.1\lib\net45\microsoft.owin.security.facebook.dll</hintpath> </reference> <reference include="microsoft.owin.security.cookies"> <hintpath>..\packages\microsoft.owin.security.cookies.3.0.1\lib\net45\microsoft.owin.security.cookies.dll</hintpath> </reference> <reference include="microsoft.owin.security.oauth"> <hintpath>..\packages\microsoft.owin.security.oauth.3.0.1\lib\net45\microsoft.owin.security.oauth.dll</hintpath> </reference> <reference include="microsoft.owin.security.google"> <hintpath>..\packages\microsoft.owin.security.google.3.0.1\lib\net45\microsoft.owin.security.google.dll</hintpath> </reference> <reference include="microsoft.owin.security.twitter"> <hintpath>..\packages\microsoft.owin.security.twitter.3.0.1\lib\net45\microsoft.owin.security.twitter.dll</hintpath> </reference> <reference include="microsoft.owin.security.microsoftaccount"> <hintpath>..\packages\microsoft.owin.security.microsoftaccount.3.0.1\lib\net45\microsoft.owin.security.microsoftaccount.dll</hintpath> </reference> <reference include="system.web.http.owin"> <hintpath>..\packages\microsoft.aspnet.webapi.owin.5.2.3\lib\net45\system.web.http.owin.dll</hintpath> </reference> </itemgroup> <itemgroup> <compile include="app_start\identityconfig.cs" /> <compile include="app_start\jsoncontentnegotiator.cs" /> <compile include="app_start\startup.auth.cs" /> <compile include="app_start\webapiconfig.cs" /> <compile include="app_start\webservicesconfig.cs" /> <compile include="infrastructure\globalexceptionhandler.cs" /> <compile include="infrastructure\globalexceptionlogger.cs" /> <compile include="infrastructure\validatemodelstatefilter.cs" /> <compile include="controllers\accountcontroller.cs" /> <compile include="controllers\homecontroller.cs" /> <compile include="controllers\schoolclasscodescontroller.cs" /> <compile include="controllers\pupilscontroller.cs" /> <compile include="controllers\schoolyearscontroller.cs" /> <compile include="controllers\testscontroller.cs" /> <compile include="global.asax.cs"> <dependentupon>global.asax</dependentupon> </compile> <compile include="models\accountbindingmodels.cs" /> <compile include="models\accountviewmodels.cs" /> <compile include="models\identitymodels.cs" /> <compile include="properties\assemblyinfo.cs" /> <compile include="providers\applicationoauthprovider.cs" /> <compile include="results\challengeresult.cs" /> <compile include="startup.cs" /> </itemgroup> <itemgroup> <content include="global.asax" /> <content include="client\index.html" /> <content include="web.config" /> <content include="web.debug.config"> <dependentupon>web.config</dependentupon> </content> <content include="web.release.config"> <dependentupon>web.config</dependentupon> </content> </itemgroup> <itemgroup> <folder include="app_data\" /> </itemgroup> <itemgroup> <content include="packages.config" /> <none include="project_readme.html" /> </itemgroup> <itemgroup> <projectreference include="..\tgb.dataaccess\tgb.dataaccess.csproj"> <project>{809d2f09-5c73-40e8-b032-5c9685d41056}</project> <name>tgb.dataaccess</name> </projectreference> <projectreference include="..\tgb.datatransferobject\tgb.datatransferobject.csproj"> <project>{56f38141-eee1-4a4a-baa4-ea6da81459b7}</project> <name>tgb.datatransferobject</name> </projectreference> <projectreference include="..\tgb.repository\tgb.repository.csproj"> <project>{2de181ca-a13c-41ac-8b57-a6983c8aa298}</project> <name>tgb.repository</name> </projectreference> <projectreference include="..\tgb.service\tgb.service.csproj"> <project>{20988323-fd06-418f-b6b5-195b9ae0f0f5}</project> <name>tgb.service</name> </projectreference> </itemgroup> <propertygroup> <visualstudioversion condition="'$(visualstudioversion)' == ''">10.0</visualstudioversion> <vstoolspath condition="'$(vstoolspath)' == ''">$(msbuildextensionspath32)\microsoft\visualstudio\v$(visualstudioversion)</vstoolspath> </propertygroup> <import project="$(msbuildbinpath)\microsoft.csharp.targets" /> <import project="$(vstoolspath)\webapplications\microsoft.webapplication.targets" condition="'$(vstoolspath)' != ''" /> <import project="$(msbuildextensionspath32)\microsoft\visualstudio\v10.0\webapplications\microsoft.webapplication.targets" condition="false" /> <target name="mvcbuildviews" aftertargets="afterbuild" condition="'$(mvcbuildviews)'=='true'"> <aspnetcompiler virtualpath="temp" physicalpath="$(webprojectoutputdir)" /> </target> <projectextensions> <visualstudio> <flavorproperties guid="{349c5851-65df-11da-9384-00065b846f21}"> <webprojectproperties> <useiis>true</useiis> <autoassignport>true</autoassignport> <developmentserverport>53712</developmentserverport> <developmentservervpath>/</developmentservervpath> <ntlmauthentication>false</ntlmauthentication> <usecustomserver>false</usecustomserver> <customserverurl> </customserverurl> <saveserversettingsinuserfile>false</saveserversettingsinuserfile> </webprojectproperties> </flavorproperties> </visualstudio> </projectextensions> <!-- modify build process, add task inside 1 of targets below , uncomment it. other similar extension points exist, see microsoft.common.targets. <target name="beforebuild"> </target> <target name="afterbuild"> </target> --> </project>
Comments
Post a Comment