I am trying to use pre-released versions of packages on Unity.
I followed some tutorials and guides, and from my understanding, I should check the "Enable pre-release packages" Check-box as I did here:
But still, when I go to the package manager, I don't see any newer version.
How do I fix it? I want to use the OnActionReceived(ActionBuffers actions) function, and on my current version, I cant use it.
I'm using the Unity version 2021.1.19f1
Thanks!
It's written in the documentation:
Advanced Installation
With the changes to Unity Package Manager in 2021, experimental packages will not show up in the package list and have to be installed manually. There are two recommended ways to install the package manually:
...
Once you've done that you can use pre-release:
Related
I installed material-ui/lab: 4.0.0-alpha.60,
in my project, which is an alpha version that the Material-UI team doesn't recommend using in production projects.
I checked the versions here, but I didn't find anything other than the alpha version.
What is the official release of #material-ui/lab, or what alternative I can use instead of it?
I recently reinstalled my Windows 10 OS, and now Nuget packages are "not compatible". After an explanation, I will be asking, how do I resolve this problem.
Lead up
Due to an unrelated problem, I had to reinstall my operating system. In the course of that, I reinstalled Visual Studio 2019. I cloned my repository (https://github.com/PaulSchrum/CogoDN), then opened it locally with VS.
Now when I build, I get several Nuget errors and warnings. These Nuget dependencies have been present in my code since December 2019, and never caused me a problem until this month (July 2020) associated with the reinstallation of VS.
Question: How do I resolve this problem?
Other Details
I am targeting .Net Core 3.1, but it happens no matter which version of .Net Core I target.
The main error seems to be of the pattern:
NU1202 Package System.Drawing.Common 4.5.0 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1).
This is happening for System.Drawing.Common, netDxf.netstandard, and packages necessary for Microsoft Tests. Specifically, it can't recognize using Microsoft.VisualStudio.TestTools.UnitTesting; (namespace 'VisualStudio' does not exist), and every attribute ([TestClass], [TestMethod]) now is a syntax error.
What have I already tried
Various combinations of reestablishing the Nuget packages. This includes at least twice clearing the Nuget cache and installing the dependencies again. I also followed the advice here: https://stackoverflow.com/a/63108317/1339950 (Item 3) Close VS, Delete global NuGet.config, start VS and let it rebuild Nuget.config.
None of these work.
One last note: I have tried so many things and got into various different states of not working that my description may have inadvertently conflated a few details.
Visual Studio can't resolve Nuget dependencies after reinstalling
operating system
It is quite strange and in my side, I can also build the project without any errors.(I download the project from your github link and then open it with VS0219----build well).
So I think your Net Core SDK or VS IDE have broken.
1), please try to install the latest Net Core 3.1 Developer SDK.
Or you could open Programs and Features from Control Panel, then right-click on every net core sdk-->Change-->Repair
2) run sfc /scannow to scan your os and you can refer to this link for more steps.
3), try to do a repair in VS Installer. Or if your VS2019 is not the latest, please update it to the latest version.
4) try to create a new net core project and then install these nuget packages to check if the issue still persists.
My company has internal components that we deliver via internal NuGet. Now i want to make a Version 5.X of these components which will be breaking a lot from the 4.X versions.
However now if my colleagues browse for updates, the Nuget browser would recommend these new packages.
What i would prefer: If example 4.6 is installed, it would take the highest 4.X version but not 5.0 or above. Making packages for the 5.X path under completely different names would be annoying when the developer choses to upgrade.
Is there a way to mark nuget packages to do something like that? If that's not clear, tell me and i try to clarify.
If your projects are using packages.config, you can use allowedVersions: https://learn.microsoft.com/en-us/nuget/reference/packages-config#schema
There's no way to do this if your project uses PackageReference, but you can upvote (👍) this isse: https://github.com/NuGet/Home/issues/9082
My team is developing a Visual Studio Code extension, and we're considering to release some of our new features as preview/beta only shown to a limited number of users.
We can think of ways to do it manually, but were wondering if Visual Studio Code provides any "standard" way to release such preview features, in a similar way as what is done for Visual Studio Code Insiders.
Is there a standard way to release preview features in VS Code extensions?
In vscode 1.63 an enhanced ability to preview pre-release extensions has been added, see release notes: pre-release extensions.
As VS Code now allows extensions to offer pre-releases, you can opt-in
to install them and use the latest cutting edge features from
extensions. VS Code shows an additional Install Pre-Release Version
option in the extension Install drop-down menu for installing the
pre-release version of the extension.
Once installed, the following indicators make it clear if you are
using the pre-release version of an extension:
If there is a pre-release version of an extension that you have
already installed you can easily switch to it:
To publish a pre-release version, see release notes: publish pre-release extension versions.
Publishing Pre-Release Extensions
VS Code now supports extension authors to publish pre-releases for
their extensions through vsce by passing --pre-release flag. You can
now make your latest features available to users who chose to install
pre-releases and get early feedback before the official extension
release.
vsce publish --pre-release
VS Code Marketplace only support major.minor.patch for extension
versions and semver pre-release tags are not supported. Support for
this will arrive in the future. Because of this we recommend that
extensions use major.EVEN_NUMBER.patch for release versions and
major.ODD_NUMBER.patch for pre-release versions. For example:
0.2.* for release and 0.3.* for pre-release. VS Code will auto
update extensions to the highest version available, so even if a user
opted into a pre-release version and there is an extension release
with a higher version, that user will be updated to the released
version.
More information about pre-release extensions can be found in the Pre-Release Extensions topic.
No, I don't think there's a standard way of doing this, which leads to different extensions taking different approaches:
The C# extension requires you to uninstall the marketplace / release version. Then you need to manually download the .vsix file for the beta release from GitHub and install the extension from that. It looks like the Go extension is taking the same approach.
Other extensions have two different versions published in the marketplace, such as PowerShell and PowerShell Preview. The latter has a preview badge in the marketplace by specifying "preview": true in package.json:
This approach also requires manually uninstalling or disabling the original extension before you can use the preview version.
Finally, some extensions include experimental features in regular marketplace releases, but lock them behind a setting so users can opt-in. There's some risk of breaking non-experimental functionality this way if things aren't tested well.
There's also an open feature request with a pretty lengthy discussion on this topic, so there might be an official solution someday:
Allow extensions to publish beta releases and users to opt-in to them (#15756)
Need to download the Unity.Burst package.
I am trying to use the ECS and job system for my project. I am using Unity 2019.1.0f2 personal version on my MacBook. I realize that I need to add the unity.burst package which is not included in the default software. Where can I find it?
Go to Window -> Package Manager and let it show all available packages(not just currently installed ones). There you'll find the burst compiler. Click on install and voila.