🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

Microsoft.VisualStudio.Web.CodeGeneration.Tools

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microsoft.visualstudio.web.codegeneration.tools - nuget Package Compare versions

Comparing version
1.0.0
to
1.0.0-preview4-final
lib/net451/dotnet-aspnet-codegenerator.exe

Sorry, the diff of this file is not supported yet

+25
<?xml version="1.0"?>
<doc>
<assembly>
<name>dotnet-aspnet-codegenerator</name>
</assembly>
<members>
<member name="M:Microsoft.VisualStudio.Web.CodeGeneration.Tools.Program.Execute(System.String[])">
<summary>
The execution is done in 2 phases.
Phase 1 ::
1. Determine if the tool is running as a project dependency or not.
2. Try getting the project context for the project (use netcoreapp1.0 as the tfm if not running as dependency command or else use the tfm passed in)
3. If not running as dependency command and project context cannot be built using netcoreapp1.0, invoke project dependency command with the first tfm found in the project.json
Phase 2 ::
1. After successfully getting the Project context, invoke the CodeGenCommandExecutor.
</summary>
</member>
<member name="M:Microsoft.VisualStudio.Web.CodeGeneration.Tools.ToolCommandLineHelper.GetProjectDependencyCommandArgs(System.String[],System.String)">
<summary>
Adds the --dependencyCommand flag and --targetFramework option
</summary>
</member>
</members>
</doc>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

+2
-3

@@ -5,8 +5,7 @@ <?xml version="1.0" encoding="utf-8"?>

<Default Extension="psmdcp" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />
<Default Extension="xml" ContentType="application/octet" />
<Default Extension="exe" ContentType="application/octet" />
<Default Extension="dll" ContentType="application/octet" />
<Default Extension="xml" ContentType="application/octet" />
<Default Extension="targets" ContentType="application/octet" />
<Default Extension="json" ContentType="application/octet" />
<Default Extension="nuspec" ContentType="application/octet" />
<Override PartName="/prefercliruntime" ContentType="application/octet" />
</Types>
+1
-1

@@ -5,5 +5,5 @@ {

"name": "Microsoft.NETCore.App",
"version": "1.0.0"
"version": "1.0.3"
}
}
}

@@ -7,50 +7,20 @@ <?xml version="1.0"?>

<members>
<member name="M:Microsoft.VisualStudio.Web.CodeGeneration.Tools.Program.Execute(System.String[],System.Boolean,Microsoft.VisualStudio.Web.CodeGeneration.ILogger)">
<summary>
Steps of execution
1. Try getting the projectContext for the project
2. Invoke project dependency command with the first compatible tfm found in the project
</summary>
</member>
<member name="M:Microsoft.VisualStudio.Web.CodeGeneration.Tools.ToolCommandLineHelper.GetProjectDependencyCommandArgs(System.String[],System.String,System.String)">
<summary>
Adds the --dependencyCommand flag, --port-number option and --targetFramework option
</summary>
</member>
<member name="M:Microsoft.Extensions.Internal.ArgumentEscaper.EscapeAndConcatenateArgArrayForProcessStart(System.Collections.Generic.IEnumerable{System.String})">
<summary>
Undo the processing which took place to create string[] args in Main,
so that the next process will receive the same string[] args
<member name="M:Microsoft.VisualStudio.Web.CodeGeneration.Tools.Program.Execute(System.String[])">
<summary>
The execution is done in 2 phases.
Phase 1 ::
1. Determine if the tool is running as a project dependency or not.
2. Try getting the project context for the project (use netcoreapp1.0 as the tfm if not running as dependency command or else use the tfm passed in)
3. If not running as dependency command and project context cannot be built using netcoreapp1.0, invoke project dependency command with the first tfm found in the project.json
See here for more info:
http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx
</summary>
<param name="args"></param>
<returns></returns>
Phase 2 ::
1. After successfully getting the Project context, invoke the CodeGenCommandExecutor.
</summary>
</member>
<member name="M:Microsoft.Extensions.Internal.ArgumentEscaper.EscapeArgArray(System.Collections.Generic.IEnumerable{System.String})">
<member name="M:Microsoft.VisualStudio.Web.CodeGeneration.Tools.ToolCommandLineHelper.GetProjectDependencyCommandArgs(System.String[],System.String)">
<summary>
Undo the processing which took place to create string[] args in Main,
so that the next process will receive the same string[] args
See here for more info:
http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx
Adds the --dependencyCommand flag and --targetFramework option
</summary>
<param name="args"></param>
<returns></returns>
</member>
<member name="M:Microsoft.Extensions.Internal.DotnetToolDispatcher.CreateDispatchCommand(System.String,System.String,System.String,System.Collections.Generic.IEnumerable{System.String},NuGet.Frameworks.NuGetFramework,System.String,System.String,System.String)">
<summary>
Invokes the 'tool' with the dependency context of the user's project.
</summary>
<param name="runtimeConfigPath">Full path to the runtimeconfig.json for the user's project.</param>
<param name="depsFile">Full path to the deps.json for the user's project.</param>
<param name="dependencyToolPath">The executable which needs to be invoked.</param>
<param name="dispatchArgs">Arguments to pass to the executable.</param>
<param name="framework"></param>
<param name="configuration"></param>
<param name="projectDirectory"></param>
<param name="assemblyFullPath"></param>
</member>
</members>
</doc>

@@ -5,30 +5,23 @@ <?xml version="1.0" encoding="utf-8"?>

<id>Microsoft.VisualStudio.Web.CodeGeneration.Tools</id>
<version>1.0.0</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<version>1.0.0-preview4-final</version>
<authors>Microsoft.VisualStudio.Web.CodeGeneration.Tools</authors>
<owners>Microsoft.VisualStudio.Web.CodeGeneration.Tools</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.</description>
<copyright>Copyright © Microsoft Corporation</copyright>
<tags>aspnetcore codegenerator scaffolding visualstudioweb</tags>
<tags>aspnetcore,codegenerator,scaffolding,visualstudioweb</tags>
<serviceable>true</serviceable>
<packageTypes>
<packageType name="DotnetCliTool" />
</packageTypes>
<repository type="git" url="https://github.com/aspnet/scaffolding" />
<dependencies>
<group targetFramework=".NETCoreApp1.0">
<dependency id="Microsoft.Build.Runtime" version="15.1.548" exclude="Build,Analyzers" />
<dependency id="Microsoft.DotNet.InternalAbstractions" version="1.0.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.Extensions.CommandLineUtils" version="1.0.1" exclude="Build,Analyzers" />
<dependency id="Microsoft.Extensions.PlatformAbstractions" version="1.0.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="1.0.1" exclude="Build,Analyzers" />
<dependency id="Newtonsoft.Json" version="9.0.1" exclude="Build,Analyzers" />
<dependency id="NuGet.Frameworks" version="3.5.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.NETCore.App" version="1.0.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.NETCore.App" version="1.0.3" />
<dependency id="Microsoft.VisualStudio.Web.CodeGeneration" version="1.0.0-preview4-final" />
</group>
<group targetFramework=".NETFramework4.5.1">
<dependency id="Microsoft.VisualStudio.Web.CodeGeneration" version="1.0.0-preview4-final" />
</group>
</dependencies>
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl>
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<copyright>Copyright © Microsoft Corporation</copyright>
<projectUrl>http://www.asp.net/</projectUrl>
</metadata>
</package>
<!--
Copyright (c) .NET Foundation. All rights reserved.
Licensed under the Apache License, Version 2.0.
-->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
**********************************************************************************
Target: EvaluateProjectInfoForCodeGeneration
Outputs the Project Information needed for CodeGeneration to a file.
**********************************************************************************
-->
<PropertyGroup>
<EvaluateProjectInfoForCodeGenerationDependsOn>
$(EvaluateProjectInfoForCodeGenerationDependsOn);
ResolveReferences;
ResolvePackageDependenciesDesignTime;
</EvaluateProjectInfoForCodeGenerationDependsOn>
</PropertyGroup>
<Choose>
<!-- For Portable Msbuild, MSBuildRuntimeType = 'Core'. For Desktop MsBuild, MSBuildRuntimeType = 'Full'-->
<When Condition="'$(MSBuildRuntimeType)' == 'Core'">
<PropertyGroup >
<EvaluateProjectInfoForCodeGenerationAssemblyPath>$(MSBuildThisFileDirectory)\..\..\toolassets\netcoreapp1.0\Microsoft.VisualStudio.Web.CodeGeneration.Msbuild.dll</EvaluateProjectInfoForCodeGenerationAssemblyPath>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup >
<EvaluateProjectInfoForCodeGenerationAssemblyPath>$(MSBuildThisFileDirectory)\..\..\toolassets\net46\Microsoft.VisualStudio.Web.CodeGeneration.Msbuild.dll</EvaluateProjectInfoForCodeGenerationAssemblyPath>
</PropertyGroup>
</Otherwise>
</Choose>
<UsingTask TaskName="ProjectContextWriter"
AssemblyFile="$(EvaluateProjectInfoForCodeGenerationAssemblyPath)" />
<Target Name="EvaluateProjectInfoForCodeGeneration" DependsOnTargets="$(EvaluateProjectInfoForCodeGenerationDependsOn)">
<ProjectContextWriter TargetFramework ="$(TargetFramework)"
OutputFile ="$(OutputFile)"
Name ="$(ProjectName)"
ResolvedReferences ="@(ReferencePath)"
PackageDependencies ="@(_DependenciesDesignTime)"
ProjectReferences ="@(ProjectReference)"
AssemblyFullPath ="$(TargetPath)"
OutputType="$(OutputType)"
Platform="$(Platform)"
RootNameSpace ="$(RootNamespace)"
CompilationItems ="@(Compile)"
TargetDirectory="$(TargetDir)"
EmbeddedItems="@(EmbeddedResource)"
Configuration="$(Configuration)"
ProjectFullPath="$(MSBuildProjectFullPath)"
ProjectDepsFileName="$(ProjectDepsFileName)"
ProjectRuntimeConfigFileName="$(ProjectRuntimeConfigFileName)"/>
</Target>
</Project>
<!--
Copyright (c) .NET Foundation. All rights reserved.
Licensed under the Apache License, Version 2.0.
-->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
**********************************************************************************
Target: EvaluateProjectInfoForCodeGeneration
Outputs the Project Information needed for CodeGeneration to a file.
**********************************************************************************
-->
<UsingTask TaskName="GetNearestTargetFramework" AssemblyFile="$(MicrosoftNETBuildTasksAssembly)" />
<Target Name="EvaluateProjectInfoForCodeGeneration" DependsOnTargets="$(EvaluateProjectInfoForCodeGenerationDependsOn)">
<GetNearestTargetFramework ReferringTargetFramework="netcoreapp1.0"
PossibleTargetFrameworks="$(TargetFrameworks)"
ProjectFilePath="$(MSBuildProjectFullPath)"
ContinueOnError="WarnAndContinue">
<Output PropertyName="NearestTargetFramework" TaskParameter="NearestTargetFramework" />
</GetNearestTargetFramework>
<GetNearestTargetFramework ReferringTargetFramework="net451"
PossibleTargetFrameworks="$(TargetFrameworks)"
ProjectFilePath="$(MSBuildProjectFullPath)"
Condition=" '$(NearestTargetFramework)' == '' "
ContinueOnError="WarnAndContinue">
<Output PropertyName="NearestTargetFramework" TaskParameter="NearestTargetFramework" />
</GetNearestTargetFramework>
<!--
If the project doesn't have any compatible framework for scaffolding to run, fail early.
-->
<Error Text="No compatible framework was found for scaffolding."
Condition=" '$(NearestTargetFramework)' == '' " />
<MSBuild Projects="$(MSBuildProjectFile)"
Targets="EvaluateProjectInfoForCodeGeneration"
Properties="TargetFramework=$(NearestTargetFramework);OutputFile=$(OutputFile)" />
</Target>
</Project>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet