microsoft / partsunlimited Goto Github PK
View Code? Open in Web Editor NEW.Net Core + SQL Azure app for DevOps Scenarios
Home Page: https://microsoft.github.io/PartsUnlimited/
License: MIT License
.Net Core + SQL Azure app for DevOps Scenarios
Home Page: https://microsoft.github.io/PartsUnlimited/
License: MIT License
Error in the build stream:
The specified framework 'Microsoft.NETCore.App', version '1.0.0-rc2-3002702' was not found.
dotnet --version on hosted server in VSTS online account
1.0.0-preview2-003121
I am working through the getting started guide here: https://microsoft.github.io/PartsUnlimited/basic/GettingStarted.html
Everything went great until I went to build the solution, where I got the following errors and warnings:
'D:\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\bin\Debug\netcoreapp2.0\PartsUnlimitedWebsite.dll' could not be found PartsUnlimited.UnitTests D:\Repos\PartsUnlimited\test\PartsUnlimited.UnitTests\CSC
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (59) PartsUnlimitedWebsite D:\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\EXEC
Task "sass" not found.� Use --force to continue. PartsUnlimitedWebsite D:\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\EXEC
MSB3073 The command "grunt" exited with code 3. PartsUnlimitedWebsite D:\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\PartsUnlimitedWebsite.csproj
I have followed the steps in the article to clean out the files and re-download them, and that hasn't changed anything. Running Visual Studio as Administrator also didn't make any difference.
Name Value
PSVersion 5.1.16299.98
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.98
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Visual Studio:
Microsoft Visual Studio Enterprise 2017
Version 15.5.6
VisualStudio.15.Release/15.5.6+27130.2027
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Enterprise
Visual Basic 2017 00369-60000-00001-AA205
Microsoft Visual Basic 2017
Visual C# 2017 00369-60000-00001-AA205
Microsoft Visual C# 2017
Visual F# 4.1 00369-60000-00001-AA205
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package 8.10.01106.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.0.31127.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017 5.2.51007.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.31106.0
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.3.2000.1
Microsoft Azure Data Lake Tools for Visual Studio
Azure Data Lake Tools for Visual Studio 2.3.2000.1
Microsoft Azure Data Lake Tools for Visual Studio
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter 3.0.17320.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
JavaScript UWP Project System 2.0
JavaScript UWP Project System
Microsoft Azure HDInsight Azure Node 2.3.2000.1
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.3.2000.1
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 2.0
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.3.2000.1
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3
Microsoft Continuous Delivery Tools for Visual Studio 0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Python 3.0.17320.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support 3.0.17320.1
Provides templates and integration for the Django web framework.
Python - IronPython support 3.0.17320.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support 3.0.17320.1
Profiling support for Python projects.
R Tools for Visual Studio 1.3.31108.1213
Provides project system, R Interactive window, plotting, and more for the R programming language.
Redgate ReadyRoll 1.16.18018.7798
Extend DevOps processes to your SQL Server databases and safely automate database deployments.
Visit https://www.red-gate.com/readyroll for more information.
Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.
This software contains components from Component Owl.
SQL Server is a registered trademark of Microsoft Corporation.
Visual Studio is a registered trademark of Microsoft Corporation.
ReadyRoll contains code from the following open source software:
NuGet https://www.nuget.org/
SQL LocalDB Wrapper https://github.com/martincostello/sqllocaldb
Autofac https://autofac.org/
Json.NET https://json.net/
MahApps.Metro http://mahapps.com/
SemVer https://github.com/maxhauser/semver
Log4Net http://logging.apache.org/log4net/
Extended WPF Toolkit https://wpftoolkit.codeplex.com/
Code InfoBox VSX http://www.codeproject.com/Articles/55196/Code-InfoBox-Visual-Studio-Extension-VSX
OctoPack https://github.com/OctopusDeploy/OctoPack
SQLite https://sqlite.org/
This product contains icons from http://www.visualpharm.com distributed under a free backlink license.
For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the ReadyRoll application folder.
Redgate SQL Prompt 9.0.7.3692
Write, format, and refactor SQL effortlessly
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 15.1.61710.120
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 15.5.11025.1
TypeScript Tools for Microsoft Visual Studio
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Universal Windows Apps 15.0.27130.2020
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
WebJobs Tools v1.0.0 15.0.40108.0
WebJobs Tools v1.0.0
Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'C:\Users\user1\Source\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\bin\Debug\netcoreapp2.0\PartsUnlimitedWebsite.dll' could not be found PartsUnlimited.UnitTests C:\Users\user1\Source\Repos\PartsUnlimited\test\PartsUnlimited.UnitTests\CSC 1 Active
Severity Code Description Project File Line Suppression State
Error Missing binding C:\Users\user1\Source\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\node_modules\grunt-sass\node_modules\node-sass\vendor\win32-x64-48\binding.node PartsUnlimitedWebsite C:\Users\user1\Source\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\EXEC 1
Severity Code Description Project File Line Suppression State
Warning Task "sass" not found.� Use --force to continue. PartsUnlimitedWebsite C:\Users\user1\Source\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\EXEC 1
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "grunt" exited with code 3. PartsUnlimitedWebsite C:\Users\user1\Source\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\PartsUnlimitedWebsite.csproj 41
While following the steps in the getting started doc, the web platform installed complaints that Azure requires LocalDB.
It should be added that when installing Visual Studio 2015 the following steps should be followed
Go to Programs and Features
2. Select Visual Studio
3. Select Change -> Modify
4. Check Microsoft SQL Server Data Tool and Click Update
Hope this helps!
Hi,
I am getting the below error message with the VSTS CI Task "dotnet restore, build, test and publish". I have also set the BuildConfiguration variable to release. Is there something else I am missing?
Error Message:
The test source file "D:\a\1\s\test\PartsUnlimited.UnitTests\bin\release\netcoreapp2.0\PartsUnlimited.UnitTests.dll" provided was not found.
Set-Content : Could not find a part of the path 'D:\a\1\a\Publish\manifest.xml'.
At D:\a\1\s\build.ps1:49 char:1
+ CategoryInfo : ObjectNotFound: (D:\a\1\a\Publish\manifest.xml:String) [Set-Content], DirectoryNotFoundE
xception
+ FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.SetContentCommand
Process completed with exit code 1 and had 2 error(s) written to the error stream.
Lab: https://microsoft.github.io/PartsUnlimited/iac/200.2x-IaCLabsM04CICDAzureSQLdb.html
After completing all tasks in this lab and the previous, when I reach Task 7 I don't see a release pending in the pipeline nor an email for approval.
Documentation for Service Fabric fault injection currently references project.json
which no longer exists in the repo, and is no longer used by dotnet core.
Users can use this instead from the src\PartsUnlimitedWebsite
directory: dotnet publish --framework netcoreapp1.1 --runtime win10-x64 -c Release
I am following the lab. When I get to "4: Create a Release Definition / 2. Test the ARM Template Deployment" I start a release and it gets to the "Azure Deployment:Create Or Update Resource Group action on Parts Unlimited" step and it fails. The error is "##[error]The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.". I have attached the log files (as text files).
Dave Burnison
Sr. ALM Consultant
Microsoft - Premier Developer
1_Release_log.txt
2_Download artifacts_log.txt
1_Initialize_log.txt
Hi, I downloaded this application followed all instructions, the solution restored everything and I was able to build in my local Visual studio. I hit "Start debug", eveyrhting compile and I get a Dos windos indicating that application is listening at http://localhost:5001 but nothing opens in my browser. I don't want to touch anything for the time being in my Azure account, so the question is this logic, can I run the application locally without going to azure?
Thanks
Step 3 point 2 button “AzureRM Web App Deployment” not exists. We used “Azure App Server Deploy” and selected version 1.* (default is 3.*).
Looks like the example screen dumps are from a previous version of Visual Studio Team Services?
i used the task runner explorer .run the "bower",it's always print
Cleaned target dir F:\PartsUnlimited-master\PartsUnlimited-master\src\PartsUnlimitedWebsite\wwwroot\lib
Fatal error: Failed to execute "git clone https://github.com/aspnet/jquery-validation-unobtrusive.git -b v3.2.2 --progress . --depth 1", exit code of #-532462766
Process terminated with code 1.
When following the HOL-Continuous_Integration, I noticed a couple of minor issues:
In the step 1 of Task 1: This sentence " You can paste in the URL if you copied it in Step 1" is confusing. There is no copying action in step 1. This sentence is probably from the previous version of the labs and not needed any more.
In Task 3: The steps are not numbered correctly. There are two "step 2" and two "step 4".
Anyway, these are just very minor issues. Hope it helps!
I am receiving the below error when I trying to deploy environment using AZURE Resource Deployment Task. I think _artifactsLocation variable is not getting populated as per my knowledge VSTS should populate this variable automatically. Anybody, please help me with this issue.
2018-02-02T08:37:30.5807763Z There were errors in your deployment. Error code: InvalidTemplate.
2018-02-02T08:37:30.6006429Z ##[error]Deployment template validation failed: 'The value for the template parameter '_artifactsLocation' at line '1' and column '1371' is not provided. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.
2018-02-02T08:37:30.6007665Z ##[error]Task failed while creating or updating the template deployment.
In Task 3, Step2, the first image is missing: ![ ] (media/1.png)
When viewing the site from a none US local agent the store homepage and checkout use local currency whereas the product details page is hard coded to USD but at the same value.
Current the master branch works against beta4. However, with the release of Visual Studio 2015, the default version of .net for ASP.NET 5 products is the beta5 version. Master should be updated to reflect that.
Dear all,
I try to create a build (step by step from doku HOL LAB double check)
I use the hosted Agent on VSTS
I run into 3 errors related to CS0618
2017-09-17T07:54:45.1039400Z ##[error]D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(83,28): warning CS0618: 'UnmanagedType.Struct' is obsolete: 'Applying UnmanagedType.Struct is unnecessary when marshalling a struct. Support for UnmanagedType.Struct when marshalling a reference type may be unavailable in future releases.'
2017-09-17T07:54:45.1066643Z ##[error]D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(107,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
2017-09-17T07:55:02.4532020Z ##[error]D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(83,28): warning CS0618: 'UnmanagedType.Struct' is obsolete: 'Applying UnmanagedType.Struct is unnecessary when marshalling a struct. Support for UnmanagedType.Struct when marshalling a reference type may be unavailable in future releases.'
this is also in place:
"buildOptions": {
90 "emitEntryPoint": true,
91 "preserveCompilationContext": true,
92 "noWarn": ["CS0618"],
92 "copyToOutput": "config.json"
93 },
logs_43.zip
Can you help me ?
Best Regards
Hi, I mnaged to download, compile and we site works fine. However, when I come back, fire VS, and reopen the solution in VS, I get the following
The following error occurred attempting to run the DNX design time process(dnx-clr-win-x86.1.1.0-rc1-update1)
No connection could be made because the target machine actively refused it [::ffff:127.0.0.1]:56426
The DNX design time process provides intellisense, build..........check that the DNX version is properly isnstalled
Both, start debugging and Start with debugging items in the debugging menu are disabled.
I close the solution, reopen it, I don²t get this message and all buttons enabled and can run the website.
What is the issue here? Thanks in advance
Hi,
Please share the mobile solution too! There's no mobile project included in this repo.
Thanks,
Srivatsa
The "HOL - Parts Unlimited Website Continuous Integration with Visual Studio Team Services" link on the https://github.com/Microsoft/PartsUnlimited/blob/hands-on-labs/docs/HOL_PartsUnlimited_WebSite_Continuous_Deployment/HOL_Continuous_Deployment_Release_Management.md page is broken.
I believe it should be a link to:
https://github.com/Microsoft/PartsUnlimited/tree/hands-on-labs/docs/HOL_Continuous_Integration
I'm following the HoL for CD process (https://microsoft.github.io/PartsUnlimited/basic/cd) but when I run my release, result the error
I think this error is when creating a SQL Server environment.
I try running the PowerShell manually and result the same error
Please, can you help me about the issue?
Hi,
I try to build and test this project. I use a brand new machine with Windows 10, Visual Studio 2015 Enterprise(RTM) with "dnvm install 1.0.0-beta4" and Microsoft Azure SDK for .NET (VS 2015) - 2.7.
We no longer download Visual Studio RC unless we don't have MSDN. It might cause problem when we try to do some hands on.
I can build and deploy Azure. However, I still have this error. I know xunit.runner.aspnet is outdated and truned into dnx. However, how to install this library? I try this procedure but it didn't work.
https://www-1.nuget.org/packages/xunit.runner.aspnet/
Any ideas?
This lab has a few problems, mostly caused by specifying the container name iiscntr1 in task 5, step 6. This means that task 5, step 16 ("You should run this a couple of times") will fail on the second and subsequent runs, as the container is started on the build agent itself and not torn down between runs - the tasks to do this are disabled in task 5, steps 7 and 8.
Task 6 will also fail, as the container name is still the same and there are no prerequisite steps to tear down the environment.
Of course, allowing the name to be assigned automatically will cause task 7 to fail due to task 5, steps 7 and 8 also failing.
Don't think I can fix this in a pull request without changing the intent of the lab exercise.
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57)
Results in solution failing to build.
Following directions from here under the "Set up your machine" and "Get the source code".
Successful build.
Build failed with error message - "Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57)"
Running a Windows 10 VM in Azure.
Located this issue which indicated to update the gulp-sass version to 3.1.0. When I did a search of the solution, "gulp-sass" was only in the readme. But I did notice that npm install node-sass
did result in a couple warnings. Namely that it could not find c:\repos\PartsUnlimited\package.json
.
c:\repos\PartsUnlimited>npm install
npm WARN saveError ENOENT: no such file or directory, open 'c:\repos\PartsUnlimited\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'c:\repos\PartsUnlimited\package.json'
npm WARN PartsUnlimited No description
npm WARN PartsUnlimited No repository field.
npm WARN PartsUnlimited No README data
npm WARN PartsUnlimited No license field.
up to date in 1.344s
c:\repos\PartsUnlimited>npm --version
5.6.0
c:\repos\PartsUnlimited>node --version
v8.9.4
I did also go through the git clean -fdx
step as well to no avail.
I have followed continuous integration steps given in the documentation and used import repository to pull the code to VSTS branch. I have setup the build configuration variable and added the build steps as given in the documentation. Upon Build, build fails with errors in node-gyp\lib\Find-VS2017.cs
Build issues
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(155,28): warning CS0618: 'UnmanagedType.VariantBool' is obsolete: 'Marshalling as VariantBool may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(165,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(165,72): warning CS0618: 'VarEnum' is obsolete: 'Marshalling VARIANTs may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(83,28): warning CS0618: 'UnmanagedType.Struct' is obsolete: 'Applying UnmanagedType.Struct is unnecessary when marshalling a struct. Support for UnmanagedType.Struct when marshalling a reference type may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(107,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(107,72): warning CS0618: 'VarEnum' is obsolete: 'Marshalling VARIANTs may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(115,28): warning CS0618: 'UnmanagedType.VariantBool' is obsolete: 'Marshalling as VariantBool may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(118,28): warning CS0618: 'UnmanagedType.VariantBool' is obsolete: 'Marshalling as VariantBool may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(121,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(121,72): warning CS0618: 'VarEnum' is obsolete: 'Marshalling VARIANTs may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(83,28): warning CS0618: 'UnmanagedType.Struct' is obsolete: 'Applying UnmanagedType.Struct is unnecessary when marshalling a struct. Support for UnmanagedType.Struct when marshalling a reference type may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(107,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(107,72): warning CS0618: 'VarEnum' is obsolete: 'Marshalling VARIANTs may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(115,28): warning CS0618: 'UnmanagedType.VariantBool' is obsolete: 'Marshalling as VariantBool may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(118,28): warning CS0618: 'UnmanagedType.VariantBool' is obsolete: 'Marshalling as VariantBool may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(121,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(121,72): warning CS0618: 'VarEnum' is obsolete: 'Marshalling VARIANTs may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(155,28): warning CS0618: 'UnmanagedType.VariantBool' is obsolete: 'Marshalling as VariantBool may be unavailable in future releases.'
D:\a\1\s\src\PartsUnlimitedWebsite\node_modules\node-gyp\lib\Find-VS2017.cs(165,28): warning CS0618: 'UnmanagedType.SafeArray' is obsolete: 'Marshalling as SafeArray may be unavailable in future releases.'
logs_49.zip
buildtasks.zip
Following the lab steps in DevOps200.1x Lab1- PartsUnlimited Setup with Visual Studio.
In task 3, after opening the PartsUnlimited.sln
file in Visual Studio 2017, the IDE can't install the required bower packages. The lab can't proceed to the next step.
There is no errors listed under the six projects of the PartsUnlimited Solution, particularly under dependencies
Under the dependencies of PartsUnlimitedWebsite
project, all the required bower packages are not installed.
When trying to restore bower packages, there are error messages in output pannel indicating requests to https://bower.herokuapp.com/packages/ failed with code 502.
How do I update npm package node-sass (3.13.1) sub reference to grunt-sass (1.2.1) as It is no longer available for download
errror message:
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
2018-08-27T11:48:49.1152822Z
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":
Hi,
I am a new guy for devops.
when I followed this tutorial step by step, I met the above error.
It happened on "Azure Deployment:Create Or Update Resource Group action on $(ResourceGroupName)" in "Continuous Deployment" chapter.
Can anyone give me a help?
Thanks a lot,
Thomas Yang
Hi,
I'm trying to build the application as given in: https://microsoft.github.io/PartsUnlimited/basic/GettingStarted.html
However, I'm running into these error messages:
1>------ Build started: Project: PartsUnlimited.Models, Configuration: Debug Any CPU ------
2>------ Build started: Project: PartsUnlimitedEnv, Configuration: Debug Any CPU ------
1> C:\Program Files\dotnet\dotnet.exe build "C:\tools\cygwin\home\SAD\projects\PartsUnlimited\src\PartsUnlimited.Models" --configuration Debug --no-dependencies
1> Project PartsUnlimited.Models (.NETStandard,Version=v1.5) will be compiled because expected outputs are missing
1> Compiling PartsUnlimited.Models for .NETStandard,Version=v1.5
1> Compilation succeeded.
1> 0 Warning(s)
1> 0 Error(s)
1> Time elapsed 00:00:02.2631379
1>
3>------ Build started: Project: PartsUnlimitedWebsite, Configuration: Debug Any CPU ------
3> C:\Program Files\dotnet\dotnet.exe build "C:\tools\cygwin\home\SAD\projects\PartsUnlimited\src\PartsUnlimitedWebsite" --configuration Debug --no-dependencies
3> Project PartsUnlimitedWebsite (.NETCoreApp,Version=v1.0) will be compiled because project is not safe for incremental compilation. Use --build-profile flag for more information.
3> Compiling PartsUnlimitedWebsite for .NETCoreApp,Version=v1.0
3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets(262,5): error : No executable found matching command "npm"
4>------ Build started: Project: PartsUnlimited.UnitTests, Configuration: Debug Any CPU ------
4> C:\Program Files\dotnet\dotnet.exe build "C:\tools\cygwin\home\SAD\projects\PartsUnlimited\test\PartsUnlimited.UnitTests" --configuration Debug --no-dependencies
4> Project PartsUnlimited.UnitTests (.NETCoreApp,Version=v1.0) will be compiled because expected inputs are missing
4> Compiling PartsUnlimited.UnitTests for .NETCoreApp,Version=v1.0
4> C:\Program Files\dotnet\dotnet.exe compile-csc @C:\tools\cygwin\home\SAD\projects\PartsUnlimited\test\PartsUnlimited.UnitTests\obj\Debug\netcoreapp1.0\dotnet-compile.rsp returned Exit Code 1
4>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets(262,5): error : C:\tools\cygwin\home\SAD\projects\PartsUnlimited\test\PartsUnlimited.UnitTests\error CS0006: Metadata file 'C:\tools\cygwin\home\SAD\projects\PartsUnlimited\src\PartsUnlimitedWebsite\bin\Debug\netcoreapp1.0\PartsUnlimitedWebsite.dll' could not be found
4> Compilation failed.
4> 0 Warning(s)
4> 1 Error(s)
4> Time elapsed 00:00:00.4284530
========== Build: 2 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Which npm application should I use - from nuget (and which nuget package) or downloaded from upstream?
Updated: I've now attach an Output from bower/npm output panel.
/Henrik
I go the next phase from the HOL and try the Manual Deployment.
I run always in an build error at the src/Website at the npm install task --> 9009
I could fixed the error after I find out, that the npm install command only works with admin rights in the shell.
After I start VS2017 as an admin I was able to run successfully the build solution command and I could publish it to azure.
Please extent the docu with the run as admin VS2017
THX
In this tutorial I seem to be having a problem with the MSBuild Arguments. Without specifying /p:PackageLocation all is well but I have no idea where the build was copied to.
My arguments are:
/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="K:\agent\MyApp"
Here are the error messages:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets (2954, 5)
Unable to create directory "K:\agent\MyApp". Could not find a part of the path 'K:\agent\MyApp'.
System.Exception: Unexpected exit code received from msbuild.exe: 1
at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeMSBuildCmdlet.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
https://github.com/Microsoft/PartsUnlimited/tree/master/docs/HOL-Continuous_Integration
You need to
git remote remove origin
before execute git remote add origin...
It is not important issue, However, I just share it.
Hi there
I have specified the right folder for the build but the build constantly fails. Works on my own project. Also verified project.json exists! Please note that I do not want to use the powershell script, I want the tasks laid out. I have tried the solution with the PS Script as well, with no luck!
Please help, trying to get this issue resolved.
If you use node 0.12 it fails building due to invalid version of node-saas, using grunt-sass": "^1.0.0" fixes this problem.
When using the msbuild parameters in the article, the resulting build errors out with the following:
2016-02-18T18:03:59.6389793Z MSBUILD : error MSB1008: Only one project can be specified.
2016-02-18T18:03:59.6389793Z Switch: p:DeployOnBuild=true
2016-02-18T18:03:59.6399788Z For switch syntax, type "MSBuild /help"
2016-02-18T18:03:59.8519793Z ##[error]Process 'msbuild.exe' exited with code '1'.
Build parameters:
/p:DeployOnBuild=true
/p:WebPublishMethod=Package
/p:PackageAsSingleFile=true
/p:SkipInvalidConfirations=true
/p:PackageLocation="C:\Agent\HOL"
I'm having issues when I try to deploy the App with "Azure Resource Group Deployment" Task as indicated in the labs.
I'm getting the following error message:
Resource Microsoft.Insights/components 'pudncorehcote-StagingInsights' failed with message '{
"error": {
"code": "MissingRegistrationForLocation",
"message": "The subscription is not registered for the resource type 'components' in the location 'Central US'. Please re-register for this provider in order to have access to this location."
}
Its the same error for the dev and production environments. Any toughs on what is causing the error?
What is the difference between PartsUnlimited.sln and PartsUnlimited.MRP.sln solutions?
I don't have SQLExpress on my VS laptop. What is needed to be done to make the site works with a remote SQL server?
Thanks
Base para estudos
In trying to create a release, I'm getting an error from the Resource Group deployment. In Task 4, Step 2, I have the test of the ARM template deployment failing. The resource group is created, but then I get this log:
2017-02-25T00:32:45.8634566Z ##[section]Starting: Azure Deployment:Create Or Update Resource Group action on dkPartsUnlimitedRG
2017-02-25T00:32:45.9084575Z ==============================================================================
2017-02-25T00:32:45.9084575Z Task : Azure Resource Group Deployment
2017-02-25T00:32:45.9084575Z Description : Deploy, start, stop, delete Azure Resource Groups
2017-02-25T00:32:45.9084575Z Version : 2.0.1
2017-02-25T00:32:45.9084575Z Author : Microsoft Corporation
2017-02-25T00:32:45.9084575Z Help : More Information
2017-02-25T00:32:45.9094571Z ==============================================================================
2017-02-25T00:32:47.2361989Z dc13b00c-680d-4bd8-81da-44ee6b4f47aa exists true
2017-02-25T00:32:47.2361989Z Checking if the following resource group exists: dkPartsUnlimitedRG.
2017-02-25T00:32:47.2371988Z Resource group exists: true.
2017-02-25T00:32:47.2371988Z Creating deployment parameters.
2017-02-25T00:32:47.2531989Z ##[error]Ensure the Parameters file is valid. Task failed while parsing with following error: Unexpected token
2017-02-25T00:32:47.2611968Z ##[section]Finishing: Azure Deployment:Create Or Update Resource Group action on dkPartsUnlimitedRG
It seems as though something has changed. The VSTS task looks slightly different than the documentation, and I don't see the Output -> Resource Group parameter in the Azure Resource Group Deployment task.
Tagging @julienstroheker and @mathieu-benoit
I followed the instructions and I got this error when running the app.
Stack Trace:
[InvalidOperationException: No service for type 'Microsoft.Framework.Runtime.ILibraryManager' has been registered.]
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +303
[HttpException (0x80004005): No service for type 'Microsoft.Framework.Runtime.ILibraryManager' has been registered.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9920760
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261
This is the project.json file
"version": "1.0.0-*",
"description": "",
"authors": [ "" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"dependencies": {
"Microsoft.AspNet.Mvc": "6.0.0-beta4",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta4",
"EntityFramework.SqlServer": "7.0.0-beta4",
"EntityFramework.Commands": "7.0.0-beta4",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta4",
"Microsoft.Framework.ConfigurationModel.Json": "1.0.0-beta4",
"Microsoft.Framework.OptionsModel": "1.0.0-beta4"
},
"commands": {
"ef": "EntityFramework.Commands"
},
"frameworks": {
"dnx451": {
},
"dnxcore50": {
}
}
}
This is the output of dvnm list.
dnvm list
Active Version Runtime Architecture
1.0.0-beta5 clr x64
1.0.0-beta5 coreclr x64
0.0-beta5 coreclr x86
I don't have experience with .NET, and I want to run this app for experimentation purposes.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.