Errors because of Aardvark.Base.TypeProviders.dll

When I compile, I get this error many times where I use type N

1>Target "UpdateGeneratedFiles" in file "C:\Path\Project\packages\Aardvark.Compiler.DomainTypes.MSBuild\build\Aardvark.Compiler.DomainTypes.MSBuild.targets" from project "C:\Path\Project\RTPAL\src\RTPAL\RTPAL.fsproj" (target "ResolveReferences" depends on it):
1>	Task "Preprocess"
1>		parsing took: 6.100s
1>		parsing took: 2.864s
1>		parsing took: 0.117s
1>		parsing took: 0.504s
1>		parsing took: 1.749s
1>C:\Path\Project\RTPAL\src\RTPAL\EffectUtils.fs(-1,0): warning 1234: typecheck returned errors
1>		WARNING: Referenced assembly 'C:\Path\Project\RTPAL\packages\Aardvark.Base.TypeProviders\lib\netstandard2.0\Aardvark.Base.TypeProviders.dll' has assembly level attribute 'Microsoft.FSharp.Core.CompilerServices.TypeProviderAssemblyAttribute' but no public type provider classes were found
1>		ERROR: The type 'N' is not defined. Maybe you want one of the following:
1>   N0
1>   N1
1>   N2
1>   N3
1>   N4
1>		ERROR: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.

This type of error is printed for several FShade files containing type Arr<N<T>, U> in FShade Shaders and functions annotated with ReflectedDefinition. The build process takes ~2 minutes.

Posted 12 months ago
Edited 12 months ago
Votes Newest


build process should now be much faster. can you check?

Posted 10 months ago