Code Monkey home page Code Monkey logo

Comments (7)

kekekeks avatar kekekeks commented on June 4, 2024 2

What happens if you change the file extension from dll to bin?

from xamlx.

kekekeks avatar kekekeks commented on June 4, 2024

That's weird, that line is inside a lock, so there shouldn't be any concurrent writes to that file. The line itself can be safely removed, it's here for convenience purposes so one could inspect the generated assembly with disassembler right away.

from xamlx.

rstm-sf avatar rstm-sf commented on June 4, 2024

This happens after running tests for net47. If we remove the build after that, for example with git clean -xdf, then the tests for netcoreapp3.1 start to pass

As far as net47 goes, it drops there at this

var createCb = Expression.Lambda<Func<IServiceProvider, object>>(
Expression.Convert(Expression.Call(
created.GetMethod("Build"), isp), typeof(object)), isp).Compile();

($exception).FusionLog from VS debugger
=== Pre-bind state information ===
LOG: DisplayName = CecilNetstandardTests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\TestPlatform\testhost.x86.exe.Config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/CecilNetstandardTests.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/CecilNetstandardTests/CecilNetstandardTests.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/Extensions/CecilNetstandardTests.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/Extensions/CecilNetstandardTests/CecilNetstandardTests.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/CecilNetstandardTests.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/CecilNetstandardTests/CecilNetstandardTests.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/Extensions/CecilNetstandardTests.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/TestPlatform/Extensions/CecilNetstandardTests/CecilNetstandardTests.EXE.

It seems that this is a VS problem and it is somewhat similar to this question

from xamlx.

rstm-sf avatar rstm-sf commented on June 4, 2024

Extension change helped ๐Ÿคจ

from xamlx.

rstm-sf avatar rstm-sf commented on June 4, 2024

But it still seems to me that it is better to delete it, since it does not really carry anything, and the load on the storage exists

from xamlx.

kekekeks avatar kekekeks commented on June 4, 2024

Should probably wrap it inside #if or something. It was really helpful for debugging at the time.

from xamlx.

rstm-sf avatar rstm-sf commented on June 4, 2024

Ok, I added an extra condition on build for this in #31

from xamlx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.