From bf9d2ca6303c52145152dc47a611e4c8ff17ddbd Mon Sep 17 00:00:00 2001 From: Charlotte McElwain Date: Thu, 21 Dec 2023 14:19:38 -0600 Subject: [PATCH] Windows fixes. --- td-rs-xtask/src/windows/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td-rs-xtask/src/windows/mod.rs b/td-rs-xtask/src/windows/mod.rs index caab594..5bbad0c 100644 --- a/td-rs-xtask/src/windows/mod.rs +++ b/td-rs-xtask/src/windows/mod.rs @@ -57,10 +57,10 @@ pub(crate) fn build_plugin( let short_title = plugin_type.to_short_name().to_title_case(); let short_upper = plugin_type.to_short_name().to_uppercase(); let op_path = plugin_type.to_plugin_name(); - let vcxproj = std::fs::read_to_string(format!("./{solution_name}.vcxproj")) + let vcxproj = std::fs::read_to_string(format!("./{solution_name}.vcxproj"))? .replace( "{{ OP_LIB_NAME }}", - &format!("lib{}.a", op_path.replace("-", "_")), + &format!("{}.lib", op_path.replace("-", "_")), ) .replace( "{{ TD_OP_H_PATH }}",