ArxOne / MrAdvice

.NET aspect weaver (build task under NuGet package)
MIT License
308 stars 45 forks source link

MrAdvice.Weaver.exe fails on Visual Studio 2017 #177

Closed wilhelmmedetz closed 2 years ago

wilhelmmedetz commented 2 years ago

MrAdvice.2.9.2 seems to fail on Visual Studio 2017. With Visual Studio 2019 and Visual Studio 2022 there is no problem.

[09:59:08][MrAdviceWeaver] Exec [09:59:08][Exec] "C:\BuildAgent\work\3343a2b237f1771\packages\MrAdvice.2.9.2\build..\tools\net461\MrAdvice.Weaver.exe" AssemblyPath="obj\Release\KePlus.SmartEppCheck.exe" ReferencePath="@obj\Release\KePlus.SmartEppCheck.exe.MrAdvice.ReferencePath.txt" ReferenceCopyLocalPaths="@obj\Release\TestProject.exe.MrAdvice.LocalReferencePath.txt" AssemblyOriginatorKeyFile="" SignAssembly="" [09:59:09][Exec] * Uncaught exception: System.IO.FileNotFoundException: Die Datei "C:\BuildAgent\work\3343a2b237f1771\KePlus.SmartEppCheck\obj\Release\KePlus.SmartEppCheck.exe.MrAdvice.LocalReferencePath.txt" konnte nicht gefunden werden. [09:59:09][Exec] Dateiname: "C:\BuildAgent\work\3343a2b237f1771\KePlus.SmartEppCheck\obj\Release\KePlus.SmartEppCheck.exe.MrAdvice.LocalReferencePath.txt" [09:59:09][Exec] bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [09:59:09][Exec] bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [09:59:09][Exec] bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [09:59:09][Exec] bei System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) [09:59:09][Exec] bei System.IO.StreamReader..ctor(String path) [09:59:09][Exec] bei System.IO.File.OpenText(String path) [09:59:09][Exec] bei StitcherBoy.Weaving.Build.AssemblyStitcher.d__16.MoveNext() [09:59:09][Exec] bei System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() [09:59:09][Exec] bei System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() [09:59:09][Exec] bei System.Collections.Generic.List1..ctor(IEnumerable1 collection) [09:59:09][Exec] bei System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) [09:59:09][Exec] bei StitcherBoy.Weaving.Build.AssemblyStitcher.EnumerateDependencies(String referencePath, String referenceCopyLocalPaths) [09:59:09][Exec] bei StitcherBoy.Weaving.Build.AssemblyStitcher.Process(IDictionary2 parameters, String entryAssemblyPath) [09:59:09]

picrap commented 2 years ago

Mmmh danke 😉. I’ll take a look.

wilhelmmedetz commented 2 years ago

Fixed with 2.9.5