You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Hi. I have cloned the repo and build the latest dev branch of the yo generator, installed in my system and generated an react-redux project. After opening the .csproj file in VS 2017 15.3 preview ( the same happens with 15.2 ) Community edition, I actually get an empty solution ( I have dotnetcore sdk 2.0.0-preview2 installed in my windows machine ).
Any ideas ?
This is the .csproj file
<ProjectSdk="Microsoft.NET.Sdk.Web"ToolsVersion="15.0">
<PropertyGroup>
<TargetFrameworkCondition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
<TargetFrameworkCondition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<IsPackable>false</IsPackable>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
<ItemGroupCondition="'$(TargetFrameworkOverride)' == ''">
<PackageReferenceInclude="Microsoft.AspNetCore.All"Version="2.0.0-rtm-26219" />
</ItemGroup>
<ItemGroupCondition="'$(TargetFrameworkOverride)' != ''">
<PackageReferenceInclude="Microsoft.AspNetCore"Version="2.0.0-rtm-26219" />
<PackageReferenceInclude="Microsoft.AspNetCore.Mvc"Version="2.0.0-rtm-26219" />
<PackageReferenceInclude="Microsoft.AspNetCore.SpaServices"Version="2.0.0-rtm-26219" />
<PackageReferenceInclude="Microsoft.AspNetCore.StaticFiles"Version="2.0.0-rtm-26219" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReferenceInclude="Microsoft.VisualStudio.Web.CodeGeneration.Tools"Version="2.0.0-rtm-26219" />
</ItemGroup>
<ItemGroup>
<!-- Files not to publish (note that the 'dist' subfolders are re-added below) -->
<ContentRemove="ClientApp\**" />
</ItemGroup>
<!--/-:cnd:noEmit -->
<TargetName="DebugRunWebpack"BeforeTargets="Build"Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<ExecCommand="node --version"ContinueOnError="true">
<OutputTaskParameter="ExitCode"PropertyName="ErrorCode" />
</Exec>
<ErrorCondition="'$(ErrorCode)' != '0'"Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to a different machine, so rebuild them if not already present. -->
<MessageImportance="high"Text="Performing first-run Webpack build..." />
<ExecCommand="node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js" />
<ExecCommand="node node_modules/webpack/bin/webpack.js" />
</Target>
<!--/+:cnd:noEmit -->
<TargetName="PublishRunWebpack"AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<ExecCommand="npm install" />
<ExecCommand="node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod" />
<ExecCommand="node node_modules/webpack/bin/webpack.js --env.prod" />
<!-- Include the newly-built files in the publish output -->
<ItemGroup>
<DistFilesInclude="wwwroot\dist\**; ClientApp\dist\**" />
<ResolvedFileToPublishInclude="@(DistFiles->'%(FullPath)')"Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.Identity)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</ResolvedFileToPublish>
</ItemGroup>
</Target>
</Project>`
Hi. I have cloned the repo and build the latest dev branch of the yo generator, installed in my system and generated an react-redux project. After opening the .csproj file in VS 2017 15.3 preview ( the same happens with 15.2 ) Community edition, I actually get an empty solution ( I have dotnetcore sdk 2.0.0-preview2 installed in my windows machine ).
Any ideas ?
This is the .csproj file