diff options
author | A-And <andon@andonov.xyz> | 2017-12-30 03:27:13 +0300 |
---|---|---|
committer | A-And <andon@andonov.xyz> | 2017-12-30 03:27:13 +0300 |
commit | 9a27ab5d6fb70e7efa0fa74374c92c3fe2d30322 (patch) | |
tree | 450069148617a0b56a02276471745760972f1fea /samples/WebApi | |
parent | 268409a371476af20b3f68077e016d76ad9fff24 (diff) |
Revert readme and csproj to be in line with NETCore samples
Diffstat (limited to 'samples/WebApi')
-rw-r--r-- | samples/WebApi/README.md | 13 | ||||
-rw-r--r-- | samples/WebApi/SampleWebApi.csproj | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/samples/WebApi/README.md b/samples/WebApi/README.md index addcce0b6..be6e4cc04 100644 --- a/samples/WebApi/README.md +++ b/samples/WebApi/README.md @@ -76,14 +76,6 @@ Once you've created a rd.xml file, navigate to the root directory of your projec where path_to_rdxml_file is the location of the file on your disk. -Directly below, add: - -```xml -<RuntimeIdentifiers>runtime_identifier</RuntimeIdentifiers> -``` - -where runtime_identifier is one of win-x64, linux-x64 or osx-x64, depending on the OS for which you would like to publish. - Under the second `<ItemGroup>` remove the line containing a reference to `Microsoft.AspNetCore.All` and substitute it with: ```xml @@ -120,11 +112,6 @@ public class ValuesController ## Restore and Publish your app -In your console run the command: - -`> dotnet restore ` - -This will restore your application's packages and download and import the correct version of the ILCompiler for your runtime. Once the package has been successfully added it's time to compile and publish your app! If you're using Windows, make sure you're using `x64 Native Tools Command Prompt for VS 2017` instead of the standard Windows command prompt. In the shell/command prompt window, run the following command: diff --git a/samples/WebApi/SampleWebApi.csproj b/samples/WebApi/SampleWebApi.csproj index 78ab33ecd..d485b393d 100644 --- a/samples/WebApi/SampleWebApi.csproj +++ b/samples/WebApi/SampleWebApi.csproj @@ -3,7 +3,6 @@ <PropertyGroup> <TargetFramework>netcoreapp2.0</TargetFramework> <RdXmlFile>rd.xml</RdXmlFile> - <RuntimeIdentifiers>win-x64</RuntimeIdentifiers> </PropertyGroup> <ItemGroup> |