Forum Widgets
Latest Discussions
MSB4011 warnings
Got a project with 2 of these warnings and it seems there's nothing I can do in VS to fix these. Where does it come from and how to solve it ? All I see when showing all files is a Imports folder with subfolders that seems to be links and there's nothing I can do with them in this project. The weird part is that from 12 projects in my solutions only this project exhibit this issue. I wish I could remove these warnings or know how to fix them Severity Code Description Project File Line Suppression State Warning MSB4011 "C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.Publish\Sdk\Sdk.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.Worker\targets\Microsoft.NET.Sdk.Worker.props (50,3)". This is most likely a build authoring error. This subsequent import will be ignored. waInvoiceSystem 1 Severity Code Description Project File Line Suppression State Warning MSB4011 "C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.Publish\Sdk\Sdk.targets" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.Worker\targets\Microsoft.NET.Sdk.Worker.targets (24,3)". This is most likely a build authoring error. This subsequent import will be ignored. waInvoiceSystem 1SolvedMarc RousselNov 30, 2023Iron Contributor1.1KViews0likes3CommentsForm1 Rename Problem in Visual Studio
If you create a Windows Forms project in Visual Studio 2022, it creates a Form1.cs file, a Form1.cs [Design] form, and a Form1.Designer.cs file. You can then drag items from the toolbox onto the form or select the form and using the form properties window to add event handlers like OnPaintForm1, and the Designer will handle those actions appropriately. However, if after creating the project, you immediately rename Form1.cs and its counterparts to, say, MyForm.cs, etc. and then drag items from the toolbox to the form or select the form and use the properties window to add event handlers, the Designer does not appropriately update the renamed form files or form design. What I have to do is use the original Form1 files, add the tools and event handlers, and build the application. After that, I can rename the files and they still work. Is there a way to fix the problem of renaming first?Solvednick1941May 02, 2023Copper Contributor1.4KViews0likes3CommentsUWP SDK version issue (Your project does not reference "UAP,Version)
In UWP apps, does anyone know how to get rid of the following errors permanently? This happens when I switch between GIT branches where the source code is targeted to different Windows SDK versions. Your project does not reference "UAP,Version=v10.0.18362" framework. Add a reference to "UAP,Version=v10.0.18362" in the "frameworks" section of your project.json and then re-run NuGet restore. BoardPACWinAppBO NOTE: By removing bin and obj folders + cleaning the project + close and reopening VS randomly fix this issue. But this is not convenient. I'm using the latest version of VS 2022.SolvedsurensalukaFeb 08, 2022Copper Contributor3.3KViews1like3CommentsDeploy a project on IIS on a machine with no IDE
I know how to deploy my project locally on my perosnal machine. I need to deploy this project on another machine, where there aren't installed any IDE. Can anyone please help me to figure it out?Solvedimane2045Jan 16, 2022Copper Contributor1.3KViews0likes1CommentAndroid SDK Manager - Visual Studio 2022
Today, I opened up Visual Studio 2022 and went to Tools -> Android -> Android SDK Manager. I noticed nothing shows up past Android 8.1 (oreo), is this by design or is something broken ? How do I install android sdk's > 8.1 ?SolvedDMcCollough1795Nov 22, 2021Copper Contributor52KViews0likes8Comments