The sample has moved to: https://github.com/MicrosoftDocs/pipelines-dotnet-core
dotnetcore-sample's Introduction
dotnetcore-sample's People
Forkers
chrispat scottcowan pkumari6 devopsdemos legendaryit hima-microsoft avasal nishshade bryanhst mlhoop mlearned josegonzalez321 gpratt3151 natiag harishmudipu218 madineni927 anshulmonty25 sotiris84 smits83 hanchoi blhoop ghoshabhra ryankwilson robin23686 amthomas46 mtuck anefid dioszhou thhno vinodjo loganathanav catalinaioanei yahplus96 mortenmpd owenl16 hyundonk bkuliqi pathakneeti kheaton gokhalesujit geoff-washam robertocallaghan 12dinesh12 yurt42 vitorx famoussou 140221059 vnextcoder htactive baddamabhimanyu ollymcbrideob andyjlewis tenination philoakleyedu sofia-sofia-sofia tkholmes kyky2017 minshi123 reubensmither1 misc-forks-cqc maniacsh nardir utomek petnet andryrifaldi amitsinghr tejaspalan rweiler pavithra4453 ionutlacatuszitec nkmajeti vitalsap emopi robinsalter prabhu130986 stone-payments siamack-bazargani bluebbe kurt-timm sryabkov atletest phydeauxman ramduraisamy cgovani tuckclub boris344 testazureclb nyanes rodneyjoyce deboerr dowdeswells bhaskar39 praffuldev19 brianreine ghanigreen sach-syne dvaibhav181 johnduckmanton guptais labrosedotnetcore-sample's Issues
Docker Build Image Fails
I cloned the repo into a new VSTS repo and created a build which completes successfully. When I add a Docker Build Image step the build fails with error:
2018-05-04T01:12:38.5714753Z Step 3/4 : COPY dotnetcore-sample/out/dotnetcore-sample .
2018-05-04T01:12:38.6246950Z COPY failed: GetFileAttributesEx \?\C:\ProgramData\docker\tmp\docker-builder810107847\dotnetcore-sample\out\dotnetcore-sample: The system cannot find the path specified.
2018-05-04T01:12:38.6445927Z ##[error]C:\Program Files\Docker\docker.exe failed with return code: 1
broken when following the VSTS documentation
Setting up the default VSTS build for ASP.NET Core I get:
d:\a\1\s\dotnetcore-sample\dotnetcore-sample.csproj.metaproj : warning MSB4078: The project file "dotnetcore-sample\dotnetcore-sample.csproj" is not supported by MSBuild and cannot be built.
Done Building Project "d:\a\1\s\dotnetcore-sample\dotnetcore-sample.csproj.metaproj" (default targets).
dotnetcore-tests\dotnetcore-tests.csproj(1,1): Error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Project "d:\a\1\s\dotnetcore-sample.sln" (1) is building "d:\a\1\s\dotnetcore-tests\dotnetcore-tests.csproj" (3) on node 1 (default targets).
d:\a\1\s\dotnetcore-tests\dotnetcore-tests.csproj(1,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Done Building Project "d:\a\1\s\dotnetcore-tests\dotnetcore-tests.csproj" (default targets) -- FAILED.
Done Building Project "d:\a\1\s\dotnetcore-sample.sln" (default targets) -- FAILED.
Build FAILED.
"d:\a\1\s\dotnetcore-sample.sln" (default target) (1) ->
"d:\a\1\s\dotnetcore-sample\dotnetcore-sample.csproj.metaproj" (default target) (2) ->
(Build target) ->
d:\a\1\s\dotnetcore-sample\dotnetcore-sample.csproj.metaproj : warning MSB4078: The project file "dotnetcore-sample\dotnetcore-sample.csproj" is not supported by MSBuild and cannot be built.
"d:\a\1\s\dotnetcore-sample.sln" (default target) (1) ->
"d:\a\1\s\dotnetcore-tests\dotnetcore-tests.csproj" (default target) (3) ->
d:\a\1\s\dotnetcore-tests\dotnetcore-tests.csproj(1,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.07
Process 'msbuild.exe' exited with code '1'.
Yet building locally it works fine:
MacBook-Pro:SimplePaaSSprint2 consensussolutions$ git remote show upstream
* remote upstream
Fetch URL: https://github.com/adventworks/dotnetcore-sample.git
Push URL: https://github.com/adventworks/dotnetcore-sample.git
HEAD branch: master
Remote branch:
master tracked
Local ref configured for 'git push':
master pushes to master (up to date)
MacBook-Pro:SimplePaaSSprint2 consensussolutions$ dotnet build
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
dotnetcore-sample -> /Users/Shared/SimplePaaSSprint2/dotnetcore-sample/bin/Debug/netcoreapp1.1/dotnetcore-sample.dll
dotnetcore-tests -> /Users/Shared/SimplePaaSSprint2/dotnetcore-tests/bin/Debug/netcoreapp1.1/dotnetcore-tests.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:04.03
MacBook-Pro:SimplePaaSSprint2 consensussolutions$ dotnet --version
2.0.0
MacBook-Pro:SimplePaaSSprint2 consensussolutions$
Steps to reproduce on Azure hosted build:
- Create a new project on Azure.
- Create a new build for ASP.NET Core.
- Setup a hosted build agent.
- Let it run a build.
Works fine on my mac book pro building with dotnet 2.0.0 so not really sure why Azure cannot build it.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.