Skip to content

Commit 8559aa6

Browse files
committed
CefSharp.Common.targets - Update link, condense wording
Issue #3009
1 parent fb6990a commit 8559aa6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

NuGet/CefSharp.Common.targets

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Target Name="PlatformCheck" BeforeTargets="ResolveAssemblyReferences" Condition="(('$(Platform)' != 'x86') AND ('$(Platform)' != 'x64') AND ('$(Platform)' != 'Win32') AND '$(CefSharpAnyCpuSupport)' != 'true')">
44
<Message Text="$(MSBuildThisFileName) contains unmanaged resoures which must be copied to your build output folder." />
5-
<Message Text="$(MSBuildThisFileName) relies on the Solution Platform (not the TargetPlatform property that's defined individually in your [cs|vb|vcx]proj files) to determine which platform to target." />
6-
<Message Text="For details on changing your Solution Platform see https://msdn.microsoft.com/en-us/library/ms185328.aspx#Anchor_0" />
7-
<Error Text="$(MSBuildThisFileName) is unable to proceeed as your current Solution Platform is '$(Platform)'. To target AnyCPU please read https://github.com/cefsharp/CefSharp/issues/1714. Alternatively change your Solution Platform to x86 or x64 and the relevant files will be copied automatically." HelpKeyword="CefSharpSolutionPlatformCheck" />
5+
<Message Text="$(MSBuildThisFileName) relies on the Platform property which is defined at the solution level (not the TargetPlatform property that's defined individually in your [cs|vb|vcx]proj files) to determine which files to copy." />
6+
<Error Text="$(MSBuildThisFileName) is unable to proceeed as your current Platform is '$(Platform)'. To target AnyCPU please read https://github.com/cefsharp/CefSharp/issues/1714. Alternatively change your Platform to x86 or x64 and the relevant files will be copied automatically. For details on changing your Platform see https://docs.microsoft.com/en-gb/visualstudio/ide/how-to-configure-projects-to-target-platforms?view=vs-2017" HelpKeyword="CefSharpSolutionPlatformCheck" />
87
</Target>
98

109
<Target Name="FrameworkVersionCheck" BeforeTargets="ResolveAssemblyReferences" Condition="(('$(TargetFrameworkVersion)' == 'v4.5.1') OR ('$(TargetFrameworkVersion)' == 'v4.5') OR ('$(TargetFrameworkVersion)' == 'v4.0'))">

NuGet/Readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Background:
77
Post Installation:
88
- Read the release notes for your version https://github.com/cefsharp/CefSharp/releases (Any known issues will be listed here)
99
- Read the `Need to know/limitations` section of the General usage guide (https://github.com/cefsharp/CefSharp/wiki/General-Usage#need-to-knowlimitations)
10-
- For `x86` or x64` set your solution target architecture to `x86` or `x64`, just changing the project is currently not enough (See https://msdn.microsoft.com/en-us/library/ms185328.aspx#Anchor_0 for details).
10+
- For `x86` or x64` set your solution target architecture to `x86` or `x64`, just changing the project is currently not enough (See https://docs.microsoft.com/en-gb/visualstudio/ide/how-to-configure-projects-to-target-platforms?view=vs-2017 for details).
1111
- `AnyCPU` target is supported though requires additional code/changes see https://github.com/cefsharp/CefSharp/issues/1714 for details.
1212
- After installing the `Nuget` package we recommend closing Visual Studio completely and then reopening (This ensures your references show up and you have full intellisense).
1313
- Check your output `\bin` directory to make sure the appropriate references have been copied.

0 commit comments

Comments
 (0)