The document says to use /r:GridV1=grid.dll
at a command line. This left me wondering the following:
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
First, to answer your questions:
What command line are we using here? E.g., powershell, cmd, something visual studio specific?
It does not matter, all of the above should work, as long as you can access the command.
/r looks like an parameter for a command, but what command?
csc
, the C# compiler.
That being said, the documentation should definitely be clarified to explain that it's talking about csc
.
Also, since most people don't use csc
directly, it should explain how to do the same thing from Visual Studio by editing .csproj.
@svick, Thanks for the quick response! I agree that instructions for editing a .csproj file would be most helpful.
Thanks for bringing this to our attention @skylerberg And for the helpful suggestion @svick
We should also include how to do this via the dotnet build
command.
Most helpful comment
Thanks for bringing this to our attention @skylerberg And for the helpful suggestion @svick
We should also include how to do this via the
dotnet build
command.