I have a C# Winforms app + C++ DLL + wapproj project for .MSIX file, I wanted to publish my app on x64 mode but when I want to generate packages. I have the error:
Asset file 'project.assets.json' has no target for 'net6.0/win -x64'.
Check that the restore ran and you included 'net6.0' in
TargetFrameworks for your project. You may also need to include
'win-x64' in your project's RuntimeIdentifiers.
It says it was on my package project.
Tried to add <TargetFramework>net6.0</TargetFramework>, delete bin and obj folder. Nothing worked.
Maybe you can check the publish setting like this:
So I resolved my self by checking all .csproj, .vcxproj, .wapproj and adding <TargetFramework>net6.0</TargetFramework> and <RuntimeIdentifier>win-x64</RuntimeIdentifier>.
After deleting all bin and obj folder, recompiling and publishing, it resolved.
I have delete the .lock file but Still it's not working. I have delete whole .metadata file but still it's not opening the workspace. I have also create a new directory of workspace but same error. Give me solution of this error
Try to follow this
-->>Goto .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi and remove workbench.xmi file from that workspace to solve this issue:
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
I just updated my unity to 2018.1.0f2 and it is giving me this error:
"Assembly with name 'UnityEditor.StandardEvents' already exists (Packages/com.unity.standardevents/Editor/Editor.asmdef)"
Any idea what I should be doing to avoid this.
remove all foder in project but keep folder asset and project setting, *.sln
I got the same error, and solved it with the following steps:
Uninstall unity
Open this path
C:\Users(name of your account)\AppData\Local\Unity
Remove all folders and files
Install unity
To fix this issue:
I opened folder C:\ProgramData\Unity\cache\npm
Then inside, removed every folder other than packages.unity.com
I am getting following error in gradle build.
Error:null value in entry: incrementalFolder=null
How can I fix this?
I agree with Maravilho Singa's answer. It appears to be a bug in gradle.
I found another solution here:
removing the .gradle directory in the root project directory will fix the problem.
Just delete the .gradle directory and rebuild app.
Undo Try to bring back .gradle directory. There by your error will be removed.
I think it has something to do with iCloud. I've found that each time that happens with my projects it's because the .gradle file had been uploaded into iCloud and was no longer available in my computer. So either delete the .gradble file and have it regenerated, or recover it from iCloud by clicking it.
Empty all "build" folders in your project
Copy all your project files and folders
Create a new folder and past it there
Open android Studio and import project
Wait Android Studio to download all dependecies.
That's all. It will work perfectly
delete the .gradle file from the root directory and then clean the project, by this your .gradle file be recreated and your error will be resolved.
This is gradle bug. Go to your project folder, delete your gradle and build folder. Sync the project with gradle files. This will resolve the problem.
I am working on my project and suddenly lights goes off, When i started Android studio and run the project, At the moment Android studio syncing the Gradle, And the same problem occurs.
Solution=>
Please Tack Backup of your project before proceeding these tasks.
Delete All folder and files present in Build folder and Gradle folder.
Uploading Images That will help you.
Error:null value in entry: libOutputDir=null
put any new projects .gradle file into your app but before that you must backup your app. i solved this error using this method.
I hope its works for other.
I resolved my error by removing the .gradle as well as .idea directory from the root project directory.
I had the same issue. importing files into a new project fixed it for me.
I stuck in the problem like this. What I done is Delete the .Gradle Folder From the Project File.
Then Built and Clean the Project. Certainly my problem is only resolved by this.
Delete .Gradle Folder -> Clean->Built
Delete the .gradle Folder from root project that showed in the top of the root project.
When I try to Archive my Xcode project, it can no longer find the .h files from the subproject in the same workspace. It works fine otherwise.
Any ideas on how to fix it?
It turns out I had created a new build configuration on the main project and that same build configuration didn't exist in the subproject, so when it went to archive it couldn't find the .h files that had been copied over.
I added the same build configuration to the subproject and it archived just fine.