I use MSbuild to publish webservices projects on the command line using the following command:
msbuild.exe MyWebservicesProjectPath \ Services.csproj / t: ResolveReferences; _CopyWebApplication / p: Configuration = Release; BuildingProject = true; WebProjectOutputDir = c: \ inetpub \ wwwroot \ webserviceDest; OutDir = c: \ inetpub \ wwwroot \ webserviceDest \
Everything is published fine, except for the .xsd files that are in the ProjectName \ WebServices \ Schema folder. what's going on here?
Thank.
In your solution, check the property of your .xsd file.
" " - " " .
" " ( ", " ), .
<ItemGroup> <None Include="XMLSchema1.xsd"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> </ItemGroup>
.XSD → "" "".
Source: https://habr.com/ru/post/1735487/More articles:How to copy a variable in JavaScript? - javascriptСамый чистый дизайн RESTful для чисто "звонков"? - designHow to recompile Java Runtime Environment (JRE)? - javaWord Spell Check всплывает скрытый и "зависает" мое приложение - c#Do I have to write a whole procedure for each database table. Column do I update separately? - sqlHow to get value from Dijit.Editor? - dojoCodeigniter best practice - multiple models - model-view-controllerHow to use ProcessStartInfo to run a batch file? - c #Want to call the same BackgroundWorker multiple times without using Application.DoEvents - vb.netLimit string length to property - reflectionAll Articles