Hi @Donald Symmons,
This is actually not recommended as you might have made a change to aspx but forgotten about it between deployments. It’s best to send the entire content.
But if you insist, I found a tool that can help you: CSC.EXE (.NET Framework Executable).
You could try the following steps to use csc.exe to convert .cs file to an dll file.
Enter cmd in the C:\Windows\Microsoft.NET\Framework64\v4.0.30319
directory. Then enter the following command line(Change the path based on your own project).
csc.exe /t:library -out:C:\Test\Project\test.dll C:\Test\Project\Program.cs
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.